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

Telegram.Bot.API.Types.KeyboardButtonRequestChat

Synopsis

KeyboardButtonRequestChat

data KeyboardButtonRequestChat Source #

This object defines the criteria used to request a suitable chat. The identifier of the selected chat will be shared with the bot when the corresponding button is pressed.

Constructors

KeyboardButtonRequestChat 

Fields

Instances

Instances details
FromJSON KeyboardButtonRequestChat Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButtonRequestChat

ToJSON KeyboardButtonRequestChat Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButtonRequestChat

Generic KeyboardButtonRequestChat Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButtonRequestChat

Associated Types

type Rep KeyboardButtonRequestChat :: Type -> Type #

Show KeyboardButtonRequestChat Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButtonRequestChat

type Rep KeyboardButtonRequestChat Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButtonRequestChat

type Rep KeyboardButtonRequestChat = D1 ('MetaData "KeyboardButtonRequestChat" "Telegram.Bot.API.Types.KeyboardButtonRequestChat" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "KeyboardButtonRequestChat" 'PrefixI 'True) (((S1 ('MetaSel ('Just "keyboardButtonRequestChatRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RequestId) :*: S1 ('MetaSel ('Just "keyboardButtonRequestChatChatIsChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "keyboardButtonRequestChatChatIsForum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "keyboardButtonRequestChatChatHasUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "keyboardButtonRequestChatChatIsCreated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "keyboardButtonRequestChatUserAdministratorRights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ChatAdministratorRights))) :*: (S1 ('MetaSel ('Just "keyboardButtonRequestChatBotAdministratorRights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ChatAdministratorRights)) :*: S1 ('MetaSel ('Just "keyboardButtonRequestChatBotIsMember") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))))