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: 201
Constructor ID: 0x2a862092
Property
peer: Raw.TypeInputPeerThe telegram chat where the media will be imported
importId: bigintIdentifier of a history import session, returned by messages.inithistoryimport
fileName: stringFile name
media: Raw.TypeInputMediaMedia metadata