Skip to content

getManagedBotToken

Function · TDLib 1.8.67 · d1085f9c

Returns token of a managed bot; for bots only

getManagedBotToken(
  bot_user_id: int53,
  revoke: Bool
) → Text

bot_user_id

int53

Identifier of the managed bot

revoke

Bool

Pass true to revoke the current token and create a new one