Interface EditBotMediaPreview

Replaces media preview in the list of media previews of a bot. Returns the new preview after edit is completed server-side. Request type for Tdjson#editBotMediaPreview.

interface EditBotMediaPreview {
    @type: "editBotMediaPreview";
    bot_user_id: number;
    content: InputStoryContent;
    file_id: number;
    language_code: string;
}

Properties

@type: "editBotMediaPreview"
bot_user_id: number

Identifier of the target bot. The bot must be owned and must have the main Web App.

Content of the new preview.

file_id: number

File identifier of the media to replace.

language_code: string

Language code of the media preview to edit.