haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

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 

Fields