Raw.DecryptedMessage73

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 undefined

    Whether the webpage preview is disabled

  • silent : boolean or undefined

    Whether this is a silent message (no notification triggered)

  • randomId : bigint

    Random message id, assigned by the author of message.must be equal to the id passed to sending method.

  • ttl : number

    Message lifetime. has higher priority than decryptedmessageactionsetmessagettl.parameter added in layer 17.

  • message : string

    Message text

  • media : Raw.TypeDecryptedMessageMedia or undefined

    Media content

  • entities : Array of Raw.TypeMessageEntity or undefined

    Message entities for styled text (parameter added in layer 45)

  • viaBotName : string or undefined

    Specifies the id of the inline bot that generated the message (parameter added in layer 45)

  • replyToRandomId : bigint or undefined

    Random message id of the message this message replies to (parameter added in layer 45)

  • groupedId : bigint or undefined

    Random 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)