Skip to content

reorderBotActiveUsernames

Function · TDLib 1.8.67 · d1085f9c

Changes order of active usernames of a bot. Can be called only if userTypeBot.can_be_edited == true

reorderBotActiveUsernames(
  bot_user_id: int53,
  usernames: list of string
) → Ok

bot_user_id

int53

Identifier of the target bot

usernames

list of string

The new order of active usernames. All currently active usernames must be specified