Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data ChatType
- = ChatTypePrivate { }
- | ChatTypeBasicGroup { }
- | ChatTypeSupergroup {
- supergroup_id :: Maybe Int
- is_channel :: Maybe Bool
- | ChatTypeSecret { }
Documentation
Describes the type of chat
ChatTypePrivate | An ordinary chat with a user |
ChatTypeBasicGroup | A basic group (a chat with 0-200 other users) |
| |
ChatTypeSupergroup | A supergroup or channel (with unlimited members) |
| |
ChatTypeSecret | A secret chat with a user |