Raw.messages.UploadImportedMedia

Raw.messages.UploadImportedMedia

Upload a media file associated with an imported chat, click here for more info.

messages.uploadImportedMedia#2a862092 peer:InputPeer import_id:long file_name:string media:InputMedia = MessageMedia;
export namespace Raw {
  export namespace messages {
    export class UploadImportedMedia {
      constructor(params: {
        peer: Raw.TypeInputPeer;
        importId: bigint;
        fileName: string;
        media: Raw.TypeInputMedia;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x2a862092

Property

  • peer : Raw.TypeInputPeer

    The telegram chat where the media will be imported

  • importId : bigint

    Identifier of a history import session, returned by messages.inithistoryimport

  • fileName : string

    File name

  • media : Raw.TypeInputMedia

    Media metadata

Results

Raw.TypeMessageMedia