pub struct SendAnimationParams {Show 19 fields
pub business_connection_id: Option<String>,
pub chat_id: ChatId,
pub message_thread_id: Option<i64>,
pub animation: InputFile,
pub duration: Option<i64>,
pub width: Option<i64>,
pub height: Option<i64>,
pub thumbnail: Option<InputFile>,
pub caption: Option<String>,
pub parse_mode: Option<String>,
pub caption_entities: Vec<MessageEntity>,
pub show_caption_above_media: bool,
pub has_spoiler: bool,
pub disable_notification: bool,
pub protect_content: bool,
pub allow_paid_broadcast: bool,
pub message_effect_id: Option<String>,
pub reply_parameters: Option<ReplyParameters>,
pub reply_markup: Option<ReplyMarkup>,
}Fields§
§business_connection_id: Option<String>§chat_id: ChatId§message_thread_id: Option<i64>§animation: InputFile§duration: Option<i64>§width: Option<i64>§height: Option<i64>§thumbnail: Option<InputFile>§caption: Option<String>§parse_mode: Option<String>§caption_entities: Vec<MessageEntity>§show_caption_above_media: bool§has_spoiler: bool§disable_notification: bool§protect_content: bool§allow_paid_broadcast: bool§message_effect_id: Option<String>§reply_parameters: Option<ReplyParameters>§reply_markup: Option<ReplyMarkup>Trait Implementations§
Source§impl Clone for SendAnimationParams
impl Clone for SendAnimationParams
Source§fn clone(&self) -> SendAnimationParams
fn clone(&self) -> SendAnimationParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SendAnimationParams
impl Debug for SendAnimationParams
Auto Trait Implementations§
impl Freeze for SendAnimationParams
impl RefUnwindSafe for SendAnimationParams
impl Send for SendAnimationParams
impl Sync for SendAnimationParams
impl Unpin for SendAnimationParams
impl UnsafeUnpin for SendAnimationParams
impl UnwindSafe for SendAnimationParams
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