send_to_telegram
Download a Grok media post by its ID and send it to a Telegram chat as a video or photo using account cookies.
Instructions
Download a Grok media post by post_id using account cookies and send it to Telegram as video/photo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | video | |
| account | No | Optional Grok account name from cookies/<name>.json. Overrides cookies.json if provided. | |
| cookies | No | Optional Grok cookies. If omitted, server uses account or cookies.json. | |
| post_id | Yes | ||
| telegram_caption | No | ||
| telegram_chat_id | No | Or set env GROK_TG_CHAT_ID. | |
| telegram_bot_token | No | Or set env GROK_TG_BOT_TOKEN. |