📱 Telegram Plugin
The Telegram plugin enables distribution of curated content to Telegram channels.
🔧 Setup Guide
- 
Create a channel via the top right icon in Telegram and get the public channel ID (e.g., @test_curation). This is the channel where the bot will publish content. noteIf you want the bot to post to an existing channel's topic, you'll need to determine the message_thread_id. You can find this by following these instructions. 
- 
Modify your curate.config.jsonto include the channel configuration:{
 "outputs": {
 "stream": {
 "enabled": true,
 "distribute": [
 {
 "plugin": "@curatedotfun/telegram",
 "config": {
 "botToken": "{TELEGRAM_BOT_TOKEN}",
 "channelId": "@your_channel_id"
 }
 }
 ]
 }
 }
 }The container is already set up with the telegram bot token for @curate_dot_fun_bot, which handles the HTTP API requests from the bot to your Telegram channel. It automatically gets hydrated into the curate.config.json on start-up, replacing {TELEGRAM_BOT_TOKEN}.You need to specify: - channelId: Your public channel ID (e.g., @test_curation)
- messageThreadId: (Optional) The topic ID if posting to a specific topic within the channel
 These values can be shared publicly. 
- 
Add @curatedotfun_bot as an admin to your channel or topic. 
- 
Enable the stream by setting "enabled": trueif not already enabled.Once merged, your approved messages will start flowing to the configured Telegram channel. tipIf your stream had been disabled and you have existing, approved curations, call /api/feeds/:feedId/processto process them.
📝 Configuration Reference
Full configuration options for the Telegram plugin:
{
  "plugin": "@curatedotfun/telegram",
  "config": {
    "botToken": "{TELEGRAM_BOT_TOKEN}", // Automatically injected
    "channelId": "@channel_id", // Your public channel ID
    "messageThreadId": "123" // Optional: Topic ID for posting to a specific topic
  }
}