Raw.bots.EditPreviewMedia

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.TypeInputUser

    The bot that owns the main mini app.

  • langCode : string

    Iso 639-1 language code, indicating the localization of the preview to edit.

  • media : Raw.TypeInputMedia

    The photo/video preview to replace, previously fetched as specified here.

  • newMedia : Raw.TypeInputMedia

    The new photo/video preview, uploaded using messages.uploadmedia.

Results

Raw.TypeBotPreviewMedia