miniproto.client.Client.sign_in_bot
miniproto.client.Client.sign_in_bot
Section titled “miniproto.client.Client.sign_in_bot”sign_in_bot(token: str) -> objectAuthorize the client as a bot and synchronize updates when enabled.
Parameters:
- token (
str) – BotFather-issued bearer token.
Returns:
object– Telegram’s authorization result.
Security
The token is retained in memory for auxiliary bot download sessions; callers must keep it secret.