Interface DeleteBotSecondaryUsername

Removes a secondary username from a bot. Can be called only if userTypeBot.can_be_edited == true and the bot has a secondary username. Request type for Tdjson#deleteBotSecondaryUsername.

interface DeleteBotSecondaryUsername {
    @type: "deleteBotSecondaryUsername";
    bot_user_id: number;
}

Properties

Properties

@type: "deleteBotSecondaryUsername"
bot_user_id: number

Identifier of the target bot.