Enum rust_tdlib::types::TopChatCategory
source · pub enum TopChatCategory {
Bots(TopChatCategoryBots),
Calls(TopChatCategoryCalls),
Channels(TopChatCategoryChannels),
ForwardChats(TopChatCategoryForwardChats),
Groups(TopChatCategoryGroups),
InlineBots(TopChatCategoryInlineBots),
Users(TopChatCategoryUsers),
// some variants omitted
}
Expand description
Represents the categories of chats for which a list of frequently used chats can be retrieved
Variants§
Bots(TopChatCategoryBots)
A category containing frequently used private chats with bot users
Calls(TopChatCategoryCalls)
A category containing frequently used chats used for calls
Channels(TopChatCategoryChannels)
A category containing frequently used channels
ForwardChats(TopChatCategoryForwardChats)
A category containing frequently used chats used to forward messages
Groups(TopChatCategoryGroups)
A category containing frequently used basic groups and supergroups
InlineBots(TopChatCategoryInlineBots)
A category containing frequently used chats with inline bots sorted by their usage in inline mode
Users(TopChatCategoryUsers)
A category containing frequently used private chats with non-bot users
Implementations§
Trait Implementations§
source§impl AsRef<TopChatCategory> for TopChatCategory
impl AsRef<TopChatCategory> for TopChatCategory
source§fn as_ref(&self) -> &TopChatCategory
fn as_ref(&self) -> &TopChatCategory
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for TopChatCategory
impl Clone for TopChatCategory
source§fn clone(&self) -> TopChatCategory
fn clone(&self) -> TopChatCategory
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 TopChatCategory
impl Debug for TopChatCategory
source§impl Default for TopChatCategory
impl Default for TopChatCategory
source§fn default() -> TopChatCategory
fn default() -> TopChatCategory
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TopChatCategory
impl<'de> Deserialize<'de> for TopChatCategory
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