?
telegramSendMessage
Send a text message to a Telegram chat via a bot.
mindstudio.telegramSendMessage({ botToken, chatId, text }) → Result
Sends a text message to a Telegram chat via a bot — the base Telegram send; the reply and edit actions build on the message id it returns.
Parameters
botToken
string
RequiredTelegram bot token in "botId:token" format
chatId
string
RequiredTelegram chat ID to send the message to
text
string
RequiredMessage text to send (MarkdownV2 formatting supported)
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.telegramSendMessage({ botToken: /* ... */, chatId: /* ... */, text: /* ... */ });