Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/mod.ts>functions.MessagesSendMedia

An attempt to write a Deno-native MTProto client
Go to Latest
class functions.MessagesSendMedia
extends Function<types.Updates>
import { functions } from "https://deno.land/x/mtkruto@0.0.62/mod.ts";
const { MessagesSendMedia } = functions;

Constructors

new
MessagesSendMedia(params: { silent?: true; background?: true; clearDraft?: true; noforwards?: true; updateStickersetsOrder?: true; peer: types.TypeInputPeer; replyToMsgId?: number; topMsgId?: number; media: types.TypeInputMedia; message: string; randomId: bigint; replyMarkup?: types.TypeReplyMarkup; entities?: Array<types.TypeMessageEntity>; scheduleDate?: number; sendAs?: types.TypeInputPeer; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
background: true
optional
clearDraft: true
optional
entities: Array<types.TypeMessageEntity>
media: types.TypeInputMedia
message: string
optional
noforwards: true
peer: types.TypeInputPeer
randomId: bigint
optional
replyMarkup: types.TypeReplyMarkup
optional
replyToMsgId: number
optional
scheduleDate: number
optional
sendAs: types.TypeInputPeer
optional
silent: true
optional
topMsgId: number
optional
updateStickersetsOrder: true

Static Properties

readonly
[paramDesc]: ParamDesc