Interface ReorderBotMediaPreviews

Changes order of media previews in the list of media previews of a bot. Request type for Tdjson#reorderBotMediaPreviews.

interface ReorderBotMediaPreviews {
    @type: "reorderBotMediaPreviews";
    bot_user_id: number;
    file_ids: number[];
    language_code: string;
}

Properties

@type: "reorderBotMediaPreviews"
bot_user_id: number

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

file_ids: number[]

File identifiers of the media in the new order.

language_code: string

Language code of the media previews to reorder.