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

Telegram.Bot.API.Types.WebAppData

Contents

Synopsis

WebAppData

data WebAppData Source #

Constructors

WebAppData 

Fields

  • webAppDataData :: Text

    The data. Be aware that a bad client can send arbitrary data in this field.

  • webAppDataButtonText :: Text

    Text of the web_app keyboard button, from which the Web App was opened. Be aware that a bad client can send arbitrary data in this field.

Instances

Instances details
FromJSON WebAppData Source # 
Instance details

Defined in Telegram.Bot.API.Types.WebAppData

ToJSON WebAppData Source # 
Instance details

Defined in Telegram.Bot.API.Types.WebAppData

Generic WebAppData Source # 
Instance details

Defined in Telegram.Bot.API.Types.WebAppData

Associated Types

type Rep WebAppData :: Type -> Type #

Show WebAppData Source # 
Instance details

Defined in Telegram.Bot.API.Types.WebAppData

type Rep WebAppData Source # 
Instance details

Defined in Telegram.Bot.API.Types.WebAppData

type Rep WebAppData = D1 ('MetaData "WebAppData" "Telegram.Bot.API.Types.WebAppData" "telegram-bot-api-6.7-8B5O9jcStFh8aacJiwZZeM" 'False) (C1 ('MetaCons "WebAppData" 'PrefixI 'True) (S1 ('MetaSel ('Just "webAppDataData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "webAppDataButtonText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))