Publora Telegram
by @sergebulaev
Post or schedule content to Telegram channels and groups using the Publora API. Use this skill when the user wants to publish or schedule Telegram messages v...
clawhub install publora-telegramπ About This Skill
name: publora-telegram description: > Post or schedule content to Telegram channels and groups using the Publora API. Use this skill when the user wants to publish or schedule Telegram messages via Publora.
Publora β Telegram
Telegram platform skill for the Publora API. For auth, core scheduling, media upload, and workspace/webhook docs, see the publora core skill.
Base URL: https://api.publora.com/api/v1
Header: x-publora-key: sk_YOUR_KEY
Platform ID format: telegram-{chatId}
Requirements
1. Create a bot via @BotFather on Telegram 2. Copy the bot token 3. Add the bot as an administrator of your target channel or group 4. Connect via Publora dashboard using the bot token + channel name
Platform Limits (API β Bot API)
> β οΈ Telegram Bot API has a strict 50 MB file limit (not the 4 GB that user clients allow).
| Property | Bot API Limit | User Client | |----------|--------------|-------------| | Text (message) | 4,096 characters | Same | | Media caption | 1,024 characters β οΈ | 4,096 (Premium) | | Images | Up to 10 Γ 10 MB | JPEG, PNG, GIF, WebP, BMP | | Video | 50 MB β οΈ | 4 GB | | Video formats | MP4, MOV, AVI, MKV, WebM | β | | Text only | β Yes | β | | Rate limit | 30 messages/sec | 20 messages/min per group |
Common errors:
MEDIA_CAPTION_TOO_LONG β caption exceeds 1,024 chars β reduce or move text to message bodyBad Request: file is too big β file exceeds 50 MB β compress or use a smaller filePost a Text Message
await fetch('https://api.publora.com/api/v1/create-post', {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' },
body: JSON.stringify({
content: 'π’ Announcement: Our new feature is live! Check it out at publora.com\n\n#update #publora',
platforms: ['telegram--1001234567890'] // note: group chat IDs are negative
})
});
Markdown formatting is supported in Telegram messages.
Schedule a Message
body: JSON.stringify({
content: 'Your Telegram channel message here',
platforms: ['telegram--1001234567890'],
scheduledTime: '2026-03-20T09:00:00.000Z'
})
Send an Image
import requestsHEADERS = { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' }
Step 1: Create post (content = caption, max 1,024 chars for media)
post = requests.post('https://api.publora.com/api/v1/create-post', headers=HEADERS, json={
'content': 'Check out our latest update! π', # keep under 1,024 chars when attaching media
'platforms': ['telegram--1001234567890']
}).json()Step 2: Get upload URL (max 10 MB per image)
upload = requests.post('https://api.publora.com/api/v1/get-upload-url', headers=HEADERS, json={
'postGroupId': post['postGroupId'],
'fileName': 'image.jpg',
'contentType': 'image/jpeg',
'type': 'image'
}).json()Step 3: Upload
with open('image.jpg', 'rb') as f:
requests.put(upload['uploadUrl'], headers={'Content-Type': 'image/jpeg'}, data=f)
Send a Video (max 50 MB)
Same flow as image but use contentType: 'video/mp4' and type: 'video'. Keep the file under 50 MB.
Platform Quirks
content becomes the caption (max 1,024 chars). For text-only posts, content can be up to 4,096 chars.bold, _italic_, ` code , link in message content