pub struct MessageReactionUpdated {
pub chat: Chat,
pub message_id: i64,
pub date: Option<i64>,
pub user: Option<User>,
pub actor_chat: Option<Chat>,
pub old_reaction: Vec<ReactionType>,
pub new_reaction: Vec<ReactionType>,
}Expand description
Telegram MessageReactionUpdated — a user’s reaction set on a message
changed.
Fields§
§chat: Chat§message_id: i64The message the reactions apply to.
date: Option<i64>When the reaction changed.
user: Option<User>The user who changed their reaction (absent for anonymous admins).
actor_chat: Option<Chat>The acting chat, when a channel reacted anonymously.
old_reaction: Vec<ReactionType>Reactions before the change.
new_reaction: Vec<ReactionType>Reactions after the change.
Trait Implementations§
Source§impl Clone for MessageReactionUpdated
impl Clone for MessageReactionUpdated
Source§fn clone(&self) -> MessageReactionUpdated
fn clone(&self) -> MessageReactionUpdated
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 MessageReactionUpdated
impl Debug for MessageReactionUpdated
Source§impl<'de> Deserialize<'de> for MessageReactionUpdated
impl<'de> Deserialize<'de> for MessageReactionUpdated
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
Auto Trait Implementations§
impl Freeze for MessageReactionUpdated
impl RefUnwindSafe for MessageReactionUpdated
impl Send for MessageReactionUpdated
impl Sync for MessageReactionUpdated
impl Unpin for MessageReactionUpdated
impl UnsafeUnpin for MessageReactionUpdated
impl UnwindSafe for MessageReactionUpdated
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