?
telegramEditMessage
Edit a previously sent Telegram message. Use with the message ID returned by Send Telegram Message.
mindstudio.telegramEditMessage({ botToken, chatId, messageId, text }) → Result
Edits a Telegram message the bot sent earlier, keyed by its message id — update a status line in place instead of sending a new message.
Parameters
botToken
string
RequiredTelegram bot token in "botId:token" format
chatId
string
RequiredTelegram chat ID containing the message
messageId
string
RequiredID of the message to edit
text
string
RequiredNew message text (MarkdownV2 formatting supported)
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.telegramEditMessage({ botToken: /* ... */, chatId: /* ... */, messageId: /* ... */, text: /* ... */ });