?
telegramSendImage
Send an image to a Telegram chat via a bot.
mindstudio.telegramSendImage({ botToken, chatId, imageUrl }) → Result
Sends an image to a Telegram chat via a bot.
Parameters
botToken
string
RequiredTelegram bot token in "botId:token" format
chatId
string
RequiredTelegram chat ID to send the image to
imageUrl
string
RequiredURL of the image to send
caption
string
Optional caption text for the image
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.telegramSendImage({ botToken: /* ... */, chatId: /* ... */, imageUrl: /* ... */ });