pub struct UpdateMessageReaction {
pub chat_id: i64,
pub message_id: i64,
pub actor_id: MessageSender,
pub date: i32,
pub old_reaction_types: Vec<ReactionType>,
pub new_reaction_types: Vec<ReactionType>,
}
Expand description
User changed its reactions on a message with public reactions; for bots only
Fields§
§chat_id: i64
Chat identifier
message_id: i64
Message identifier
actor_id: MessageSender
Identifier of the user or chat that changed reactions
date: i32
Point in time (Unix timestamp) when the reactions were changed
old_reaction_types: Vec<ReactionType>
Old list of chosen reactions
new_reaction_types: Vec<ReactionType>
New list of chosen reactions
Trait Implementations§
Source§impl Clone for UpdateMessageReaction
impl Clone for UpdateMessageReaction
Source§fn clone(&self) -> UpdateMessageReaction
fn clone(&self) -> UpdateMessageReaction
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 UpdateMessageReaction
impl Debug for UpdateMessageReaction
Source§impl<'de> Deserialize<'de> for UpdateMessageReaction
impl<'de> Deserialize<'de> for UpdateMessageReaction
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 PartialEq for UpdateMessageReaction
impl PartialEq for UpdateMessageReaction
Source§impl Serialize for UpdateMessageReaction
impl Serialize for UpdateMessageReaction
impl StructuralPartialEq for UpdateMessageReaction
Auto Trait Implementations§
impl Freeze for UpdateMessageReaction
impl RefUnwindSafe for UpdateMessageReaction
impl Send for UpdateMessageReaction
impl Sync for UpdateMessageReaction
impl Unpin for UpdateMessageReaction
impl UnwindSafe for UpdateMessageReaction
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