pub struct SendMessageAlbum {
pub chat_id: i64,
pub reply_to_message_id: i64,
pub disable_notification: bool,
pub from_background: bool,
pub input_message_contents: Vec<InputMessageContent>,
}
Expand description
Sends messages grouped together into an album. Currently only photo and video messages can be grouped into an album. Returns sent messages
Fields§
§chat_id: i64
Target chat
reply_to_message_id: i64
Identifier of a message to reply to or 0
disable_notification: bool
Pass true to disable notification for the messages. Not supported in secret chats
from_background: bool
Pass true if the messages are sent from the background
input_message_contents: Vec<InputMessageContent>
Contents of messages to be sent
Trait Implementations§
Source§impl Clone for SendMessageAlbum
impl Clone for SendMessageAlbum
Source§fn clone(&self) -> SendMessageAlbum
fn clone(&self) -> SendMessageAlbum
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SendMessageAlbum
impl Debug for SendMessageAlbum
Source§impl<'de> Deserialize<'de> for SendMessageAlbum
impl<'de> Deserialize<'de> for SendMessageAlbum
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for SendMessageAlbum
impl Method for SendMessageAlbum
Auto Trait Implementations§
impl Freeze for SendMessageAlbum
impl RefUnwindSafe for SendMessageAlbum
impl Send for SendMessageAlbum
impl Sync for SendMessageAlbum
impl Unpin for SendMessageAlbum
impl UnwindSafe for SendMessageAlbum
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more