Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>messages_sendMultiMedia_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_sendMultiMedia_
extends Function_<enums.Updates>
import { messages_sendMultiMedia_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Constructors

new
messages_sendMultiMedia_(params: { silent?: true; background?: true; clear_draft?: true; noforwards?: true; update_stickersets_order?: true; invert_media?: true; peer: enums.InputPeer; reply_to?: enums.InputReplyTo; multi_media: Array<enums.InputSingleMedia>; schedule_date?: number; send_as?: enums.InputPeer; quick_reply_shortcut?: enums.InputQuickReplyShortcut; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
background: true

Send in background?

optional
clear_draft: true

Whether to clear drafts

optional
invert_media: true

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

multi_media: Array<enums.InputSingleMedia>

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

optional
noforwards: true

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

peer: enums.InputPeer

The destination chat

optional
quick_reply_shortcut: enums.InputQuickReplyShortcut
optional
reply_to: enums.InputReplyTo

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

optional
schedule_date: number

Scheduled message date for scheduled messages

optional
send_as: enums.InputPeer

Send this message as the specified peer

optional
silent: true

Whether to send the album silently (no notification triggered)

optional
update_stickersets_order: true

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

Static Properties

__F: (params: { silent?: true; background?: true; clear_draft?: true; noforwards?: true; update_stickersets_order?: true; invert_media?: true; peer: enums.InputPeer; reply_to?: enums.InputReplyTo; multi_media: Array<enums.InputSingleMedia>; schedule_date?: number; send_as?: enums.InputPeer; quick_reply_shortcut?: enums.InputQuickReplyShortcut; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc