Interface SetBotProfilePhoto

Changes a profile photo for a bot. Request type for Tdjson#setBotProfilePhoto.

interface SetBotProfilePhoto {
    @type: "setBotProfilePhoto";
    bot_user_id: number;
    photo: InputChatPhoto;
}

Properties

@type: "setBotProfilePhoto"
bot_user_id: number

Identifier of the target bot.

Profile photo to set; pass null to delete the chat photo.