Telegram.Bot.API.Types.WebAppData
Contents
WebAppData
data WebAppData Source #
Constructors
Fields
The data. Be aware that a bad client can send arbitrary data in this field.
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.
web_app
Defined in Telegram.Bot.API.Types.WebAppData
Methods
showsPrec :: Int -> WebAppData -> ShowS #
show :: WebAppData -> String #
showList :: [WebAppData] -> ShowS #
Associated Types
type Rep WebAppData :: Type -> Type #
from :: WebAppData -> Rep WebAppData x #
to :: Rep WebAppData x -> WebAppData #
parseJSON :: Value -> Parser WebAppData
parseJSONList :: Value -> Parser [WebAppData]
toJSON :: WebAppData -> Value
toEncoding :: WebAppData -> Encoding
toJSONList :: [WebAppData] -> Value
toEncodingList :: [WebAppData] -> Encoding