pub struct UpdateChatReadInbox {
pub chat_id: i64,
pub last_read_inbox_message_id: i64,
pub unread_count: i32,
}
Expand description
Incoming messages were read or number of unread messages has been changed
Fields§
§chat_id: i64
Chat identifier
last_read_inbox_message_id: i64
Identifier of the last read incoming message
unread_count: i32
The number of unread messages left in the chat
Trait Implementations§
Source§impl Clone for UpdateChatReadInbox
impl Clone for UpdateChatReadInbox
Source§fn clone(&self) -> UpdateChatReadInbox
fn clone(&self) -> UpdateChatReadInbox
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 UpdateChatReadInbox
impl Debug for UpdateChatReadInbox
Source§impl<'de> Deserialize<'de> for UpdateChatReadInbox
impl<'de> Deserialize<'de> for UpdateChatReadInbox
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 UpdateChatReadInbox
impl RefUnwindSafe for UpdateChatReadInbox
impl Send for UpdateChatReadInbox
impl Sync for UpdateChatReadInbox
impl Unpin for UpdateChatReadInbox
impl UnwindSafe for UpdateChatReadInbox
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