Raw.bots.EditPreviewMedia
Edit a main mini app preview, see here for more info.
bots.editPreviewMedia#8525606f bot:InputUser lang_code:string media:InputMedia new_media:InputMedia = BotPreviewMedia;
export namespace Raw {
export namespace bots {
export class EditPreviewMedia {
constructor(params: {
bot: Raw.TypeInputUser;
langCode: string;
media: Raw.TypeInputMedia;
newMedia: Raw.TypeInputMedia;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 198
Constructor ID: 0x8525606f
Property
bot
: Raw.TypeInputUserThe bot that owns the main mini app.
langCode
: stringIso 639-1 language code, indicating the localization of the preview to edit.
media
: Raw.TypeInputMediaThe photo/video preview to replace, previously fetched as specified here.
newMedia
: Raw.TypeInputMediaThe new photo/video preview, uploaded using messages.uploadmedia.