Raw.DraftMessage

Raw.DraftMessage

Represents a message draft.

draftMessage#2d65321f flags:# no_webpage:flags.1?true invert_media:flags.6?true reply_to:flags.4?InputReplyTo message:string entities:flags.3?Vector<MessageEntity> media:flags.5?InputMedia date:int effect:flags.7?long = DraftMessage;
export namespace Raw {
  export class DraftMessage {
    constructor(params: {
      noWebpage?: boolean;
      invertMedia?: boolean;
      replyTo?: Raw.TypeInputReplyTo;
      message: string;
      entities?: Array<Raw.TypeMessageEntity>;
      media?: Raw.TypeInputMedia;
      date: number;
      effect?: bigint;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x2d65321f

Property