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

Telegram.Bot.API.Types.KeyboardButtonRequestUser

Synopsis

KeyboardButtonRequestUser

data KeyboardButtonRequestUser Source #

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

Constructors

KeyboardButtonRequestUser 

Fields

Instances

Instances details
Show KeyboardButtonRequestUser Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButtonRequestUser

Generic KeyboardButtonRequestUser Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButtonRequestUser

Associated Types

type Rep KeyboardButtonRequestUser :: Type -> Type #

FromJSON KeyboardButtonRequestUser Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButtonRequestUser

Methods

parseJSON :: Value -> Parser KeyboardButtonRequestUser

parseJSONList :: Value -> Parser [KeyboardButtonRequestUser]

ToJSON KeyboardButtonRequestUser Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButtonRequestUser

type Rep KeyboardButtonRequestUser Source # 
Instance details

Defined in Telegram.Bot.API.Types.KeyboardButtonRequestUser

type Rep KeyboardButtonRequestUser = D1 ('MetaData "KeyboardButtonRequestUser" "Telegram.Bot.API.Types.KeyboardButtonRequestUser" "telegram-bot-api-6.5-inplace" 'False) (C1 ('MetaCons "KeyboardButtonRequestUser" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyboardButtonRequestUserRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RequestId) :*: (S1 ('MetaSel ('Just "keyboardButtonRequestUserUserIsBot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "keyboardButtonRequestUserUserIsPremium") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))))