微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📢

Telegram 频道一键发布与定时推送

Publora Telegram · v1.0.0
效率 安全 B 级 作者 sergebulaev 公开目录收录
1.1k 下载 0 安装 2.5k 收藏 4 浏览

简介

通过 Publora API 实现 Telegram 频道内容发布与定时推送,支持 Markdown 格式与图片上传,适合自动化社媒运营。

原始描述

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

通过你的 Agent 添加

安装目录:publora-telegram/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/publora-telegram/
Codex CLI~/.codex/skills/publora-telegram/
DeepSeek Harness~/.agents/skills/publora-telegram/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: publora-telegram description: > Post or schedule content to a Telegram channel using the Publora API. Use this skill when the user wants to publish or schedule posts to a Telegram channel via Publora.

Publora — Telegram

Post and schedule content to Telegram channels via the Publora API.

Prerequisite: Install the publora core skill for auth setup and getting platform IDs.

Get Your Telegram Platform ID

GET https://api.publora.com/api/v1/platform-connections
# Look for entries like "telegram-1001234567890"

Post to Telegram Immediately

Telegram supports Markdown formatting in post content:

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: '**Product Update v2.5**\n\nWe shipped:\n\n- Faster API response times (avg 45ms)\n- New `batch` endpoint\n- Better error messages\n\nFull changelog: [docs.example.com/changelog](https://docs.example.com/changelog)',
    platforms: ['telegram-1001234567890']
  })
});

Schedule a Telegram Post

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: '📢 Weekly digest is coming tomorrow at 9 AM. Stay tuned!',
    platforms: ['telegram-1001234567890'],
    scheduledTime: '2026-03-15T18:00:00.000Z'
  })
});

Telegram + Image

import requests

HEADERS = { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' }

post = requests.post('https://api.publora.com/api/v1/create-post', headers=HEADERS, json={
    'content': '📊 **Monthly Stats**\n\nHere\'s how we did in February:',
    'platforms': ['telegram-1001234567890'],
    'scheduledTime': '2026-03-01T09:00:00.000Z'
}).json()

upload = requests.post('https://api.publora.com/api/v1/get-upload-url', headers=HEADERS, json={
    'fileName': 'stats.png', 'contentType': 'image/png',
    'type': 'image', 'postGroupId': post['postGroupId']
}).json()

with open('stats.png', 'rb') as f:
    requests.put(upload['uploadUrl'], headers={'Content-Type': 'image/png'}, data=f)

Tips for Telegram

  • Markdown is supported — use **bold**, _italic_, `code`, and [links](url)
  • No character limit — Telegram allows very long posts
  • Channels vs groups: Publora connects to Channels (broadcast), not groups
  • Notification-heavy — subscribers get push notifications; post quality matters
  • Best for: Technical updates, newsletters, product announcements, curated content
  • Emojis 🚀 are widely used and expected in Telegram content

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

telegramsocial-mediacontent-schedulingapi-integrationmarkdownpublora

同类 Skill