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 undefinedWhether to send the album silently (no notification triggered)
background
: boolean or undefinedSend in background?
clearDraft
: boolean or undefinedWhether to clear drafts
noforwards
: boolean or undefinedOnly for bots, disallows forwarding and saving of the messages, even if the destination chat doesn’t have content protection enabled
updateStickersetsOrder
: boolean or undefinedWhether to move used stickersets to top, see here for more info on this flag
invertMedia
: boolean or undefinedIf set, any eventual webpage preview will be shown on top of the message instead of at the bottom.
peer
: Raw.TypeInputPeerThe destination chat
replyTo
: Raw.TypeInputReplyTo or undefinedIf set, indicates that the message should be sent in reply to the specified message or story.
multiMedia
: Array of Raw.TypeInputSingleMediaThe medias to send: note that they must be separately uploaded using messages.uploadmedia first, using raw inputmediauploaded* constructors is not supported.
scheduleDate
: number or undefinedScheduled message date for scheduled messages
sendAs
: Raw.TypeInputPeer or undefinedSend this message as the specified peer
quickReplyShortcut
: Raw.TypeInputQuickReplyShortcut or undefinedAdd the message to the specified quick reply shortcut, instead.
effect
: bigint or undefinedSpecifies a message effect to use for the message.