| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.CheckAuthenticationBotToken
Synopsis
Documentation
data CheckAuthenticationBotToken Source #
Checks the authentication token of a bot; to log in as a bot. Works only when the current authorization state is authorizationStateWaitPhoneNumber. Can be used instead of setAuthenticationPhoneNumber and checkAuthenticationCode to log in. Returns Ok
Constructors
| CheckAuthenticationBotToken | |
Instances
| ToJSON CheckAuthenticationBotToken Source # | |
Defined in TD.Query.CheckAuthenticationBotToken Methods toJSON :: CheckAuthenticationBotToken -> Value # toEncoding :: CheckAuthenticationBotToken -> Encoding # toJSONList :: [CheckAuthenticationBotToken] -> Value # toEncodingList :: [CheckAuthenticationBotToken] -> Encoding # | |
| Show CheckAuthenticationBotToken Source # | |
Defined in TD.Query.CheckAuthenticationBotToken Methods showsPrec :: Int -> CheckAuthenticationBotToken -> ShowS # show :: CheckAuthenticationBotToken -> String # showList :: [CheckAuthenticationBotToken] -> ShowS # | |
| Eq CheckAuthenticationBotToken Source # | |
Defined in TD.Query.CheckAuthenticationBotToken Methods (==) :: CheckAuthenticationBotToken -> CheckAuthenticationBotToken -> Bool # (/=) :: CheckAuthenticationBotToken -> CheckAuthenticationBotToken -> Bool # | |
| ShortShow CheckAuthenticationBotToken Source # | |
Defined in TD.Query.CheckAuthenticationBotToken Methods | |