Raw.InputSingleMedia
A single media in an album or grouped media sent with messages.sendmultimedia.
inputSingleMedia#1cc6e91f flags:# media:InputMedia random_id:long message:string entities:flags.0?Vector<MessageEntity> = InputSingleMedia;
export namespace Raw {
export class InputSingleMedia {
constructor(params: {
media: Raw.TypeInputMedia;
randomId: bigint;
message: string;
entities?: Array<Raw.TypeMessageEntity>;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x1cc6e91f
Property
media
: Raw.TypeInputMediaThe media
randomId
: bigintUnique client media id required to prevent message resending
message
: stringA caption for the media
entities
: Array of Raw.TypeMessageEntity or undefinedMessage entities for styled text