Raw.bots.AddPreviewMedia
Add a main mini app preview, see here for more info.
bots.addPreviewMedia#17aeb75a bot:InputUser lang_code:string media:InputMedia = BotPreviewMedia;
export namespace Raw {
export namespace bots {
export class AddPreviewMedia {
constructor(params: {
bot: Raw.TypeInputUser;
langCode: string;
media: Raw.TypeInputMedia;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 198
Constructor ID: 0x17aeb75a
Property
bot
: Raw.TypeInputUserThe bot that owns the main mini app.
langCode
: stringIso 639-1 language code, indicating the localization of the preview to add.
media
: Raw.TypeInputMediaThe photo/video preview, uploaded using messages.uploadmedia.