Grok Bot + Telegram
Post to Telegram from Grok Bot
Through iHatePosting, Grok Bot can post messages with pictures or video into a Telegram channel or group. Paste one setup message to your Grok Bot and give it your API key in its secret prompt, then ask it for the post you want.
Setup takes about a minute. A text message can hold up to 4,096 characters; with a picture or a video the text becomes a caption of up to 1,024.
Posting to Telegram from Grok Bot
Add iHatePosting to Grok Bot once, connect Telegram, and then describe the post. Setup takes about a minute.
Add iHatePosting to Grok Bot once
Paste one setup message to your Grok Bot and give it your API key in its secret prompt. Then connect Telegram in iHatePosting if you have not already.
Set up iHatePosting so you can draft, schedule and publish my social media posts.
- Install its command line on your cloud computer: npm install -g ihateposting
- Install its skill: npx skills add iHatePostingOrg/iHatePosting-Agent
- Ask me for my iHatePosting API key through your secure form, never in this chat, and keep it as IHATEPOSTING_API_KEY.
- Check it works: run ihateposting integrations:list.
- Save posts as drafts unless I say otherwise, and ask me before you publish anything.
When it works, show me my connected accounts.Ask for the Telegram post
Describe the post in plain language. Grok Bot writes it, applies the settings and schedules it.
> Post the release summary to my Telegram channel today at 18:00.
Grok Bot: Done. Scheduled on Telegram.What Grok Bot can do on Telegram
On Telegram, Grok Bot can post messages with pictures or video into a Telegram channel or group.
Channel messages
Post into a channel or group your bot has been added to.
Media
Attach pictures or video to a message.
Scheduling
Send the message at a time you name.
How Grok Bot gets a post onto Telegram
You say what you want and Grok Bot makes the calls. A typical conversation goes like this.
Find your Telegram channel
Which Telegram accounts do I have in iHatePosting?
What happens
- Grok Bot lists your channels and finds Telegram
- It also reads the channel's rules and settings
Compose your content
Send poster.png with a short caption to my Telegram group tomorrow at 9:00.
What happens
- Grok Bot drafts the text for Telegram
- It uploads any media you mention
Schedule and publish
Yes, schedule it for tomorrow at 9:00.
What happens
- Grok Bot schedules the post in iHatePosting
- iHatePosting publishes it to Telegram at that time
Telegram settings reference
Telegram needs nothing beyond the text, the media and the time.
| Field | Type | Required | Description |
|---|---|---|---|
| (none) | - | No | No extra settings: Grok Bot sends the text, the media and the time |
What is Grok Bot?
Grok Bot is xAI's always-on agent, used through a Cursor account. You create named Bots and give each a job; your Bots share one cloud computer with a browser, files and a terminal.
Once a Bot has the iHatePosting command line installed, it writes, queues and sends your posts from that computer.
How iHatePosting works with Grok Bot
Installed as a skill, iHatePosting gives Grok Bot a SKILL.md that teaches it the commands and how to shape a post for each platform, and the ihateposting command line does the work.
- Paste the message into a chat with the agent
# A message to paste into the chat
Set up iHatePosting so you can draft, schedule and publish my social media posts.
- Install its command line on your cloud computer: npm install -g ihateposting
- Install its skill: npx skills add iHatePostingOrg/iHatePosting-Agent
- Ask me for my iHatePosting API key through your secure form, never in this chat, and keep it as IHATEPOSTING_API_KEY.
- Check it works: run ihateposting integrations:list.
- Save posts as drafts unless I say otherwise, and ask me before you publish anything.
When it works, show me my connected accounts.Telegram and the other platforms Grok Bot reaches
Ask for Telegram and other channels in a single message; every channel still applies its own settings.
Telegram requests to try in Grok Bot
A channel update
Post the release summary to my Telegram channel today at 18:00.
A picture
Send poster.png with a short caption to my Telegram group tomorrow at 9:00.
A reminder
Remind my Telegram channel about Friday's livestream tomorrow at noon.
Telegram limits and gotchas to know
A few of Telegram's rules shape how Grok Bot writes your request, so it helps to know them.
- A text message can hold up to 4,096 characters; with a picture or a video the text becomes a caption of up to 1,024.
- Only bold and underline survive in the text, and a link keeps its words but loses its address.
- The channel has no extra settings to choose.
Frequently asked questions
Start free for 30 daysPaste one setup message to your Grok Bot and give it your API key in its secret prompt, connect Telegram in iHatePosting, then ask Grok Bot for the post in plain language. It schedules the post and iHatePosting publishes it at the time you set.
A text message can hold up to 4,096 characters; with a picture or a video the text becomes a caption of up to 1,024.
Telegram has no extra settings to choose, so Grok Bot only needs the text, the media and the time.
Yes. Make a key in iHatePosting (Settings → Agents / Dev) and hand it to Grok Bot as the steps above show. The command line can sign in with ihateposting auth:login instead.
Yes. Name a day and a time and iHatePosting publishes the post then, whether or not Grok Bot is still open. An agent that keeps running can also repeat a job on a routine you give it.