pub struct UpdateChatAction {
pub chat_id: i64,
pub message_thread_id: i64,
pub sender_id: MessageSender,
pub action: ChatAction,
}
Expand description
A message sender activity in the chat has changed
Fields§
§chat_id: i64
Chat identifier
message_thread_id: i64
If not 0, the message thread identifier in which the action was performed
sender_id: MessageSender
Identifier of a message sender performing the action
action: ChatAction
The action
Trait Implementations§
Source§impl Clone for UpdateChatAction
impl Clone for UpdateChatAction
Source§fn clone(&self) -> UpdateChatAction
fn clone(&self) -> UpdateChatAction
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 UpdateChatAction
impl Debug for UpdateChatAction
Source§impl<'de> Deserialize<'de> for UpdateChatAction
impl<'de> Deserialize<'de> for UpdateChatAction
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 UpdateChatAction
impl PartialEq for UpdateChatAction
Source§impl Serialize for UpdateChatAction
impl Serialize for UpdateChatAction
impl StructuralPartialEq for UpdateChatAction
Auto Trait Implementations§
impl Freeze for UpdateChatAction
impl RefUnwindSafe for UpdateChatAction
impl Send for UpdateChatAction
impl Sync for UpdateChatAction
impl Unpin for UpdateChatAction
impl UnwindSafe for UpdateChatAction
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