Raw.messages.SendMultiMedia

Raw.messages.SendMultiMedia

Send an album or grouped media

messages.sendMultiMedia#37b74355 flags:# silent:flags.5?true background:flags.6?true clear_draft:flags.7?true noforwards:flags.14?true update_stickersets_order:flags.15?true invert_media:flags.16?true peer:InputPeer reply_to:flags.0?InputReplyTo multi_media:Vector<InputSingleMedia> schedule_date:flags.10?int send_as:flags.13?InputPeer quick_reply_shortcut:flags.17?InputQuickReplyShortcut effect:flags.18?long = Updates;
export namespace Raw {
  export namespace messages {
    export class SendMultiMedia {
      constructor(params: {
        silent?: boolean;
        background?: boolean;
        clearDraft?: boolean;
        noforwards?: boolean;
        updateStickersetsOrder?: boolean;
        invertMedia?: boolean;
        peer: Raw.TypeInputPeer;
        replyTo?: Raw.TypeInputReplyTo;
        multiMedia: Array<Raw.TypeInputSingleMedia>;
        scheduleDate?: number;
        sendAs?: Raw.TypeInputPeer;
        quickReplyShortcut?: Raw.TypeInputQuickReplyShortcut;
        effect?: bigint;
      }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0x37b74355

Property

  • silent : boolean or undefined

    Whether to send the album silently (no notification triggered)

  • background : boolean or undefined

    Send in background?

  • clearDraft : boolean or undefined

    Whether to clear drafts

  • noforwards : boolean or undefined

    Only for bots, disallows forwarding and saving of the messages, even if the destination chat doesn’t have content protection enabled

  • updateStickersetsOrder : boolean or undefined

    Whether to move used stickersets to top, see here for more info on this flag

  • invertMedia : boolean or undefined

    If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.

  • peer : Raw.TypeInputPeer

    The destination chat

  • replyTo : Raw.TypeInputReplyTo or undefined

    If set, indicates that the message should be sent in reply to the specified message or story.

  • multiMedia : Array of Raw.TypeInputSingleMedia

    The medias to send: note that they must be separately uploaded using messages.uploadmedia first, using raw inputmediauploaded* constructors is not supported.

  • scheduleDate : number or undefined

    Scheduled message date for scheduled messages

  • sendAs : Raw.TypeInputPeer or undefined

    Send this message as the specified peer

  • quickReplyShortcut : Raw.TypeInputQuickReplyShortcut or undefined

    Add the message to the specified quick reply shortcut, instead.

  • effect : bigint or undefined

    Specifies a message effect to use for the message.

Results

Raw.TypeUpdates

Bots can use