Reference
Remy Reference/agent/telegramReplyToMessage
?

telegramReplyToMessage

Send a reply to a specific Telegram message. The reply will be visually threaded in the chat.
mindstudio.telegramReplyToMessage({ botToken, chatId, replyToMessageId, text }) → Result

Replies to a specific Telegram message so it threads visually in the chat, via a bot.

Parameters
botToken
string
RequiredTelegram bot token in "botId:token" format
chatId
string
RequiredTelegram chat ID to send the reply to
replyToMessageId
string
RequiredID of the message to reply to
text
string
RequiredReply text (MarkdownV2 formatting supported)
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.telegramReplyToMessage({
  botToken: /* ... */,
  chatId: /* ... */,
  replyToMessageId: /* ... */,
  text: /* ... */
});