Raw.DecryptedMessage73
Contents of an encrypted message.
decryptedMessage#91cc4674 flags:# no_webpage:flags.1?true silent:flags.5?true random_id:long ttl:int message:string media:flags.9?DecryptedMessageMedia entities:flags.7?Vector<MessageEntity> via_bot_name:flags.11?string reply_to_random_id:flags.3?long grouped_id:flags.17?long = DecryptedMessage;
export namespace Raw {
export class DecryptedMessage73 {
constructor(params: {
noWebpage?: boolean;
silent?: boolean;
randomId: bigint;
ttl: number;
message: string;
media?: Raw.TypeDecryptedMessageMedia;
entities?: Array<Raw.TypeMessageEntity>;
viaBotName?: string;
replyToRandomId?: bigint;
groupedId?: bigint;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x91cc4674
Property
noWebpage
: boolean or undefinedWhether the webpage preview is disabled
silent
: boolean or undefinedWhether this is a silent message (no notification triggered)
randomId
: bigintRandom message id, assigned by the author of message.must be equal to the id passed to sending method.
ttl
: numberMessage lifetime. has higher priority than decryptedmessageactionsetmessagettl.parameter added in layer 17.
message
: stringMessage text
media
: Raw.TypeDecryptedMessageMedia or undefinedMedia content
entities
: Array of Raw.TypeMessageEntity or undefinedMessage entities for styled text (parameter added in layer 45)
viaBotName
: string or undefinedSpecifies the id of the inline bot that generated the message (parameter added in layer 45)
replyToRandomId
: bigint or undefinedRandom message id of the message this message replies to (parameter added in layer 45)
groupedId
: bigint or undefinedRandom group id, assigned by the author of message.multiple encrypted messages with a photo attached and with the same group id indicate an album or grouped media (parameter added in layer 45)