telegram-bot-api-7.4.1: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Types.ChatType

Contents

Synopsis

ChatType

data ChatType Source #

Type of the chat, can be either “private”, “group”, “supergroup” or “channel”.

Instances

Instances details
FromJSON ChatType Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatType

ToJSON ChatType Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatType

Generic ChatType Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatType

Associated Types

type Rep ChatType :: Type -> Type #

Methods

from :: ChatType -> Rep ChatType x #

to :: Rep ChatType x -> ChatType #

Show ChatType Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatType

type Rep ChatType Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatType

type Rep ChatType = D1 ('MetaData "ChatType" "Telegram.Bot.API.Types.ChatType" "telegram-bot-api-7.4.1-2WtpFhMXNFKIB67Pjf7fgm" '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))))