pub struct RemoveTopChat {
pub category: TopChatCategory,
pub chat_id: i64,
}
Expand description
Removes a chat from the list of frequently used chats. Supported only if the chat info database is enabled
Fields§
§category: TopChatCategory
Category of frequently used chats
chat_id: i64
Chat identifier
Trait Implementations§
Source§impl Clone for RemoveTopChat
impl Clone for RemoveTopChat
Source§fn clone(&self) -> RemoveTopChat
fn clone(&self) -> RemoveTopChat
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 RemoveTopChat
impl Debug for RemoveTopChat
Source§impl<'de> Deserialize<'de> for RemoveTopChat
impl<'de> Deserialize<'de> for RemoveTopChat
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 Method for RemoveTopChat
impl Method for RemoveTopChat
Auto Trait Implementations§
impl Freeze for RemoveTopChat
impl RefUnwindSafe for RemoveTopChat
impl Send for RemoveTopChat
impl Sync for RemoveTopChat
impl Unpin for RemoveTopChat
impl UnwindSafe for RemoveTopChat
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