Raw.InputMediaUploadedPhoto
Photo
inputMediaUploadedPhoto#1e287d04 flags:# spoiler:flags.2?true file:InputFile stickers:flags.0?Vector<InputDocument> ttl_seconds:flags.1?int = InputMedia;
export namespace Raw {
export class InputMediaUploadedPhoto {
constructor(params: {
spoiler?: boolean;
file: Raw.TypeInputFile;
stickers?: Array<Raw.TypeInputDocument>;
ttlSeconds?: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x1e287d04
Property
spoiler
: boolean or undefinedWhether this media should be hidden behind a spoiler warning
file
: Raw.TypeInputFileThe uploaded file
stickers
: Array of Raw.TypeInputDocument or undefinedAttached mask stickers
ttlSeconds
: number or undefinedTime to live in seconds of self-destructing photo