pub enum ChatType {
BasicGroup(ChatTypeBasicGroup),
Private(ChatTypePrivate),
Secret(ChatTypeSecret),
Supergroup(ChatTypeSupergroup),
// some variants omitted
}
Expand description
Describes the type of a chat
Variants
BasicGroup(ChatTypeBasicGroup)
Tuple Fields
A basic group (a chat with 0-200 other users)
Private(ChatTypePrivate)
Tuple Fields
An ordinary chat with a user
Secret(ChatTypeSecret)
Tuple Fields
A secret chat with a user
Supergroup(ChatTypeSupergroup)
Tuple Fields
A supergroup or channel (with unlimited members)
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ChatType
impl UnwindSafe for ChatType
Blanket Implementations
Mutably borrows from an owned value. Read more