Struct tg_bot_models::SendMediaGroup[][src]

pub struct SendMediaGroup {
    pub chat_id: PolymorphChatId,
    pub media: Vec<InputMedia>,
    pub disable_notification: Option<bool>,
    pub reply_to_message_id: Option<i64>,
}

Use this method to send a group of photos or videos as an album. On success, an array of the sent Messages is returned.

Fields

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

A JSON-serialized array describing photos and videos to be sent, must include 2–10 items

Sends the messages silently. Users will receive a notification with no sound.

If the messages are a reply, ID of the original message

Trait Implementations

impl Debug for SendMediaGroup
[src]

Formats the value using the given formatter. Read more

impl Clone for SendMediaGroup
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SendMediaGroup
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for SendMediaGroup
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations