edit_bot_media_preview


Description:

public async BotMediaPreview edit_bot_media_preview (int64 bot_user_id, string language_code, int32 file_id, InputStoryContent content) throws TDLibError

Replaces media preview in the list of media previews of a bot. Returns the new preview after edit is completed server-side

Parameters:

bot_user_id

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

language_code

Language code of the media preview to edit

file_id

File identifier of the media to replace

content

Content of the new preview