Skip to content
Discussion options

You must be logged in to vote

I mean this repository: https://github.com/tdlib/td

Regarding "auth.importBotAuthorization", I don't understand this notation. We import data from the tl files published by Telegram in the upstream repo, and apparently there's a method called checkAuthenticationBotToken:

//@description 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 @token The bot token
checkAuthenticationBotToken token:string = Ok;

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mahmoud-syr
Comment options

@mahmoud-syr
Comment options

@ForNeVeR
Comment options

Answer selected by mahmoud-syr
@mahmoud-syr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants