| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.WidgetQueryType
Synopsis
- data WidgetQueryType
- = WidgetQueryTypeData {
- with_wallet :: Maybe Bool
- | WidgetQueryTypeSignData { }
- | WidgetQueryTypeSentTransaction { }
- = WidgetQueryTypeData {
Documentation
data WidgetQueryType Source #
Describes type of a widget query
Constructors
| WidgetQueryTypeData | The query contains data for the bot |
Fields
| |
| WidgetQueryTypeSignData | The query contains data signed by a TON wallet of the user who sends the query |
| WidgetQueryTypeSentTransaction | The query notifies the bot about a transaction sent from a TON wallet of the user who sends the query |
Instances
| FromJSON WidgetQueryType Source # | |
Defined in TD.Data.WidgetQueryType Methods parseJSON :: Value -> Parser WidgetQueryType # parseJSONList :: Value -> Parser [WidgetQueryType] # | |
| ToJSON WidgetQueryType Source # | |
Defined in TD.Data.WidgetQueryType Methods toJSON :: WidgetQueryType -> Value # toEncoding :: WidgetQueryType -> Encoding # toJSONList :: [WidgetQueryType] -> Value # toEncodingList :: [WidgetQueryType] -> Encoding # | |
| Show WidgetQueryType Source # | |
Defined in TD.Data.WidgetQueryType Methods showsPrec :: Int -> WidgetQueryType -> ShowS # show :: WidgetQueryType -> String # showList :: [WidgetQueryType] -> ShowS # | |
| Eq WidgetQueryType Source # | |
Defined in TD.Data.WidgetQueryType Methods (==) :: WidgetQueryType -> WidgetQueryType -> Bool # (/=) :: WidgetQueryType -> WidgetQueryType -> Bool # | |
| ShortShow WidgetQueryType Source # | |
Defined in TD.Data.WidgetQueryType Methods shortShow :: WidgetQueryType -> String Source # | |