pub struct AdvancedSendStickerRequest {Show 13 fields
pub business_connection_id: Option<String>,
pub chat_id: ChatId,
pub message_thread_id: Option<i64>,
pub direct_messages_topic_id: Option<i64>,
pub sticker: String,
pub emoji: Option<String>,
pub disable_notification: Option<bool>,
pub protect_content: Option<bool>,
pub allow_paid_broadcast: Option<bool>,
pub message_effect_id: Option<String>,
pub suggested_post_parameters: Option<SuggestedPostParameters>,
pub reply_parameters: Option<ReplyParameters>,
pub reply_markup: Option<ReplyMarkup>,
}Expand description
Auto-generated request for sendSticker.
Fields§
§business_connection_id: Option<String>§chat_id: ChatId§message_thread_id: Option<i64>§direct_messages_topic_id: Option<i64>§sticker: String§emoji: Option<String>§disable_notification: Option<bool>§protect_content: Option<bool>§allow_paid_broadcast: Option<bool>§message_effect_id: Option<String>§suggested_post_parameters: Option<SuggestedPostParameters>§reply_parameters: Option<ReplyParameters>§reply_markup: Option<ReplyMarkup>Implementations§
Trait Implementations§
Source§impl Clone for AdvancedSendStickerRequest
impl Clone for AdvancedSendStickerRequest
Source§fn clone(&self) -> AdvancedSendStickerRequest
fn clone(&self) -> AdvancedSendStickerRequest
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 AdvancedSendStickerRequest
impl Debug for AdvancedSendStickerRequest
Auto Trait Implementations§
impl Freeze for AdvancedSendStickerRequest
impl RefUnwindSafe for AdvancedSendStickerRequest
impl Send for AdvancedSendStickerRequest
impl Sync for AdvancedSendStickerRequest
impl Unpin for AdvancedSendStickerRequest
impl UnsafeUnpin for AdvancedSendStickerRequest
impl UnwindSafe for AdvancedSendStickerRequest
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