haskell-tdlib-2.1.1.0: Binding to the Telegram Database Library
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