← 返回
内容创作 Key 中文

Publora Telegram

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...
通过 Publora API 将内容发布或定时发送至 Telegram 频道和群组,适用于需要发布或定时发送 Telegram 消息的场景。
sergebulaev
内容创作 clawhub v1.2.0 2 版本 100000 Key: 需要
★ 0
Stars
📥 939
下载
💾 38
安装
2
版本
#latest

概述

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).

PropertyBot API LimitUser Client
-------------------------------------
Text (message)4,096 charactersSame
Media caption1,024 characters ⚠️4,096 (Premium)
ImagesUp to 10 × 10 MBJPEG, PNG, GIF, WebP, BMP
Video50 MB ⚠️4 GB
Video formatsMP4, MOV, AVI, MKV, WebM
Text only✅ Yes
Rate limit30 messages/sec20 messages/min per group

Common errors:

  • MEDIA_CAPTION_TOO_LONG — caption exceeds 1,024 chars → reduce or move text to message body
  • Bad Request: file is too big — file exceeds 50 MB → compress or use a smaller file

Post 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 requests

HEADERS = { '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

  • Bot API file limit is 50 MB — not 4 GB like Telegram user clients. For larger files, you'd need a Local Bot API Server (not supported by Publora)
  • Caption vs message body: When attaching media, content becomes the caption (max 1,024 chars). For text-only posts, content can be up to 4,096 chars.
  • Markdown supported: Use bold, _italic_, ` code , link` in message content
  • Group chat IDs are negative: e.g. telegram--1001234567890
  • Bot must be admin: The bot needs admin permissions to post in channels; in groups, it needs at least "Send messages" permission
  • Rate limit: 30 messages/second globally; 20 messages/minute per group — Publora handles queuing automatically

版本历史

共 2 个版本

  • v1.1.0
    2026-03-29 13:18
  • v1.2.0 当前
    2026-03-27 20:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Publora Linkedin

sergebulaev
使用 Publora API 在 LinkedIn 上发布或定时发布内容。适用于用户需要发布或预约 LinkedIn 帖子、获取分析(如曝光)数据的场景。
★ 1 📥 1,164
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 860 📥 199,873
content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,208