Interface ReorderBotActiveUsernames

Changes order of active usernames of a bot. Can be called only if userTypeBot.can_be_edited == true. Request type for Tdjson#reorderBotActiveUsernames.

interface ReorderBotActiveUsernames {
    @type: "reorderBotActiveUsernames";
    bot_user_id: number;
    usernames: string[];
}

Properties

@type: "reorderBotActiveUsernames"
bot_user_id: number

Identifier of the target bot.

usernames: string[]

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