mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-24 09:16:12 +01:00
Fix SendMediaGroup return type
Message -> Vec<Message>
This commit is contained in:
parent
57cfba346c
commit
ec58a59903
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ impl_payload! {
|
||||||
///
|
///
|
||||||
/// [`Message`]: crate::types::Message
|
/// [`Message`]: crate::types::Message
|
||||||
#[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
|
#[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
|
||||||
pub SendMediaGroup (SendMediaGroupSetters) => Message {
|
pub SendMediaGroup (SendMediaGroupSetters) => Vec<Message> {
|
||||||
required {
|
required {
|
||||||
/// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)
|
/// Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)
|
||||||
pub chat_id: ChatId [into],
|
pub chat_id: ChatId [into],
|
||||||
|
|
Loading…
Add table
Reference in a new issue