Raw.messages.SaveDraft

Raw.messages.SaveDraft

Save a message draft associated to a chat.

messages.saveDraft#d372c5ce flags:# no_webpage:flags.1?true invert_media:flags.6?true reply_to:flags.4?InputReplyTo peer:InputPeer message:string entities:flags.3?Vector<MessageEntity> media:flags.5?InputMedia effect:flags.7?long = Bool;
export namespace Raw {
  export namespace messages {
    export class SaveDraft {
      constructor(params: {
        noWebpage?: boolean;
        invertMedia?: boolean;
        replyTo?: Raw.TypeInputReplyTo;
        peer: Raw.TypeInputPeer;
        message: string;
        entities?: Array<Raw.TypeMessageEntity>;
        media?: Raw.TypeInputMedia;
        effect?: bigint;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xd372c5ce

Property

Results

boolean