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

x/mtkruto/client/3_types.ts>SendMessageParams

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface SendMessageParams
import { type SendMessageParams } from "https://deno.land/x/mtkruto@0.1.117/client/3_types.ts";

Properties

optional
parseMode: ParseMode

The parse mode to use. If not provided, the default parse mode will be used.

optional
entities: MessageEntity[]

The message's entities.

optional
disableWebPagePreview: boolean

Whether to disable web page previews in the message that is to be sent.

optional
disableNotification: boolean

Whether to send the message in a silent way without making a sound on the recipients' clients.

optional
protectContent: boolean

Whether to protect the contents of the message from copying and forwarding.

optional
replyToMessageId: number

The identifier of a message to reply to.

optional
messageThreadId: number

The identifier of a thread to send the message to.

optional
sendAs: ChatID

The identifier of the chat to send the message on behalf of. User-only.

The reply markup of the message. Bot-only.