Raw.messages.ForwardMessages

Raw.messages.ForwardMessages

Forwards messages by their ids.

messages.forwardMessages#d5039208 flags:# silent:flags.5?true background:flags.6?true with_my_score:flags.8?true drop_author:flags.11?true drop_media_captions:flags.12?true noforwards:flags.14?true from_peer:InputPeer id:Vector<int> random_id:Vector<long> to_peer:InputPeer top_msg_id:flags.9?int schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut = Updates;
export namespace Raw {
  export namespace messages {
    export class ForwardMessages {
      constructor(params: {
        silent?: boolean;
        background?: boolean;
        withMyScore?: boolean;
        dropAuthor?: boolean;
        dropMediaCaptions?: boolean;
        noforwards?: boolean;
        fromPeer: Raw.TypeInputPeer;
        id: Array<number>;
        randomId: Array<bigint>;
        toPeer: Raw.TypeInputPeer;
        topMsgId?: number;
        scheduleDate?: number;
        sendAs?: Raw.TypeInputPeer;
        quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
      }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0xd5039208

Property

Results

Raw.TypeUpdates

Bots can use