Safe Haskell | Safe-Inferred |
---|---|
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 # | |
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.2-5yzIcLVELew8cCZ5gmtKj6" '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)))) |