From ec58a59903e3d94ef8fec05121eb6b4d15f703b7 Mon Sep 17 00:00:00 2001 From: Waffle Date: Fri, 5 Feb 2021 21:32:21 +0300 Subject: [PATCH] Fix SendMediaGroup return type Message -> Vec --- src/payloads/send_media_group.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/payloads/send_media_group.rs b/src/payloads/send_media_group.rs index 2241744a..2b7eb24f 100644 --- a/src/payloads/send_media_group.rs +++ b/src/payloads/send_media_group.rs @@ -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 { required { /// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`) pub chat_id: ChatId [into],