Enum rtdlib::types::TopChatCategory [−][src]
pub enum TopChatCategory {
Bots(TopChatCategoryBots),
Calls(TopChatCategoryCalls),
Channels(TopChatCategoryChannels),
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
A category containing frequently used private chats with bot users
Tuple Fields of Bots
A category containing frequently used chats used for calls
Tuple Fields of Calls
A category containing frequently used channels
Tuple Fields of Channels
A category containing frequently used basic groups and supergroups
Tuple Fields of Groups
A category containing frequently used chats with inline bots sorted by their usage in inline mode
Tuple Fields of InlineBots
A category containing frequently used private chats with non-bot users
Tuple Fields of 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