Enum rtdlib::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
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<TopChatCategory, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<TopChatCategory, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TopChatCategory
impl Send for TopChatCategory
impl Sync for TopChatCategory
impl Unpin for TopChatCategory
impl UnwindSafe for TopChatCategory
Blanket Implementations
Mutably borrows from an owned value. Read more