Safe Haskell | None |
---|---|
Language | Haskell2010 |
Telegram.Bot.API.Types.ChatType
Contents
Synopsis
ChatType
Type of the chat, can be either “private”, “group”, “supergroup” or “channel”.
Instances
FromJSON ChatType Source # | |||||
Defined in Telegram.Bot.API.Types.ChatType | |||||
ToJSON ChatType Source # | |||||
Generic ChatType Source # | |||||
Defined in Telegram.Bot.API.Types.ChatType Associated Types
| |||||
Show ChatType Source # | |||||
type Rep ChatType Source # | |||||
Defined in Telegram.Bot.API.Types.ChatType type Rep ChatType = D1 ('MetaData "ChatType" "Telegram.Bot.API.Types.ChatType" "telegram-bot-api-7.4.5-C30gz7jHapzKe4VtLU2OM4" 'False) ((C1 ('MetaCons "ChatTypePrivate" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ChatTypeGroup" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ChatTypeSupergroup" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ChatTypeChannel" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ChatTypeSender" 'PrefixI 'False) (U1 :: Type -> Type)))) |