Skip to main content
Module

x/mtkruto/mod.ts>SendMessagesParams

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface SendMessagesParams
import { type SendMessagesParams } from "https://deno.land/x/mtkruto@0.0.987/mod.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.

optional
replyMarkup:
| InlineKeyboardMarkup
| ReplyKeyboardMarkup
| ReplyKeyboardRemove
| ForceReply

The reply markup of the message.