Fix SendMediaGroup return type

Message -> Vec<Message>
This commit is contained in:
Waffle 2021-02-05 21:32:21 +03:00
parent 57cfba346c
commit ec58a59903

View file

@ -10,7 +10,7 @@ impl_payload! {
///
/// [`Message`]: crate::types::Message
#[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
pub SendMediaGroup (SendMediaGroupSetters) => Message {
pub SendMediaGroup (SendMediaGroupSetters) => Vec<Message> {
required {
/// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)
pub chat_id: ChatId [into],