pub struct SetMessageReaction {
pub message_id: MessageId,
pub chat_id: ChatUId,
pub reaction: Option<Vec<ReactionType>>,
pub is_big: Option<bool>,
}Expand description
https://core.telegram.org/bots/api#setmessagereaction Use this method to change the chosen reactions on a message. Service messages can’t be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Returns True on success.
Fields§
§message_id: MessageId§chat_id: ChatUId§reaction: Option<Vec<ReactionType>>§is_big: Option<bool>Trait Implementations§
Source§impl Debug for SetMessageReaction
impl Debug for SetMessageReaction
Source§impl Default for SetMessageReaction
impl Default for SetMessageReaction
Source§fn default() -> SetMessageReaction
fn default() -> SetMessageReaction
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetMessageReaction
impl RefUnwindSafe for SetMessageReaction
impl Send for SetMessageReaction
impl Sync for SetMessageReaction
impl Unpin for SetMessageReaction
impl UnwindSafe for SetMessageReaction
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more