pub struct UpdateChatOnlineMemberCount {
pub chat_id: i64,
pub online_member_count: i32,
}
Expand description
The number of online group members has changed. This update with non-zero number of online group members is sent only for currently opened chats. There is no guarantee that it will be sent just after the number of online users has changed
Fields§
§chat_id: i64
Identifier of the chat
online_member_count: i32
New number of online members in the chat, or 0 if unknown
Trait Implementations§
Source§impl Clone for UpdateChatOnlineMemberCount
impl Clone for UpdateChatOnlineMemberCount
Source§fn clone(&self) -> UpdateChatOnlineMemberCount
fn clone(&self) -> UpdateChatOnlineMemberCount
Returns a copy 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 UpdateChatOnlineMemberCount
impl Debug for UpdateChatOnlineMemberCount
Source§impl Default for UpdateChatOnlineMemberCount
impl Default for UpdateChatOnlineMemberCount
Source§fn default() -> UpdateChatOnlineMemberCount
fn default() -> UpdateChatOnlineMemberCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateChatOnlineMemberCount
impl<'de> Deserialize<'de> for UpdateChatOnlineMemberCount
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
impl StructuralPartialEq for UpdateChatOnlineMemberCount
Auto Trait Implementations§
impl Freeze for UpdateChatOnlineMemberCount
impl RefUnwindSafe for UpdateChatOnlineMemberCount
impl Send for UpdateChatOnlineMemberCount
impl Sync for UpdateChatOnlineMemberCount
impl Unpin for UpdateChatOnlineMemberCount
impl UnwindSafe for UpdateChatOnlineMemberCount
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