Telegram Postのロゴ

Telegram Post

組織
publora
telegram-post

Use when the user wants to post or schedule to a Telegram channel or group through Publora, using a bot. Covers Telegram markdown, silent delivery, link previews and forward protection. Bot API caps media captions at 1,024 characters and videos at 50 MB. Not for other platforms (each has its own skill).

Add to TypingMind

概要

公開者publora
リポジトリskills
スキル名telegram-post
スター
62
フォーク
6
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    publoraがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Telegram Post」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/publora/skills/tree/main/skills/telegram-post
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/publora/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/telegram-post .claude/skills/telegram-post
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでTelegram Postを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にTelegram Postを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Telegram Postは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Telegram Post

Create and schedule posts to Telegram channels and groups using the Publora MCP server. Supports rich markdown formatting, photos, videos, and message delivery options.

Prerequisites

Plans: Works on the free Starter plan. Current limits and pricing: publora.com/pricing.

Getting Started

  1. Create account at publora.com/register (free)
  2. Create Telegram bot:
    • Message @BotFather on Telegram
    • Send /newbot and follow instructions
    • Save the bot token
  3. Add bot to your channel:
    • Add the bot as administrator to your channel/group
    • Grant can_post_messages permission
  4. Connect in Publora at Dashboard with the bot token and the channel:
    • Public channel: @username or t.me/username
    • Private channel: its -100… chat ID, or the t.me/c/… link of any message in it (Copy Link on the message)
    • Invite links (t.me/+…) are rejected: the Bot API cannot identify a channel from them
  5. Get an API key at app.publora.com/dashboard/api, only if your agent cannot sign in with OAuth or you will use the REST API fallback below
  6. Connect your agent to the MCP server at https://mcp.publora.com/mcp:
    • Upgrading a manual connection without /mcp: Claude treats https://mcp.publora.com as a different server from the bundled one. Change that existing connection to https://mcp.publora.com/mcp in its current scope, preserving its authentication and chosen account; sign in again if requested. Alternatively, verify the bundled connection uses the intended account, then remove only the old manual entry. Do not add a second entry or delete credentials automatically.
    • Publora tools already available (the publora-skills plugin or the Publora connector in Claude): nothing to set up. Claude asks you to sign in to Publora the first time a tool runs.
    • Agents that support OAuth (Claude Code, Cursor, and the Claude and ChatGPT apps): add the server by URL and sign in, no API key needed. In Claude Code, add it and then run /mcp to sign in:
bash
claude mcp add --transport http --scope user publora https://mcp.publora.com/mcp
  • Agents without OAuth: send the API key as Authorization: Bearer sk_YOUR_API_KEY:
bash
claude mcp add --transport http --scope user publora https://mcp.publora.com/mcp \
  --header "Authorization: Bearer sk_YOUR_API_KEY"

Claude Desktop, Cursor, Codex, OpenClaw and the claude.ai connector each need a different config file or flow: see client setup for the exact path and snippet.

REST API Fallback

If the MCP server is unavailable or returns errors, use the REST API directly:

Base URL: https://api.publora.com/api/v1

Authentication: Use x-publora-key header (NOT Authorization: Bearer):

bash
# Get your connected platforms
curl -X GET "https://api.publora.com/api/v1/platform-connections" \
  -H "x-publora-key: sk_your_api_key"

# Create a post
curl -X POST "https://api.publora.com/api/v1/create-post" \
  -H "x-publora-key: sk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "platforms": ["telegram--1001234567890"],
    "content": "*Announcement*\n\nYour message here",
    "scheduledTime": "2026-03-25T10:00:00Z"
  }'

Platform ID Format: telegram-{chat_id} where {chat_id} is the channel/group numeric ID from /platform-connections. A bot connection's chat ID is negative (-100…), so the ID has a double dash. Copy it verbatim; never rebuild it.

Example IDs: telegram--1001234567890, telegram--1002345678901

📖 Full API documentation: docs.publora.com

Platform Limits (Bot API)

FeatureLimit
Text message4,096 characters
Media caption1,024 characters (critical limit!)
Images10 MB max, 10 per media group
Image formatsJPEG, PNG, GIF, BMP, WebP
Video size50 MB max (not 4 GB - that's for users!)
Video formatsMP4, MOV, AVI, MKV, WebM
Rate limit30 msg/sec global, 20 msg/min per group

Critical: Bot API has much lower limits than regular Telegram users. Videos over 50 MB and captions over 1,024 characters will fail.

Markdown Formatting

Telegram uses its own markdown flavor with single asterisks for bold:

SyntaxResult
*bold*bold
_italic_italic
`code`inline code
code Code block
[text](url)hyperlink
> textBlockquote

Note: This differs from standard Markdown where **double asterisks** make bold.

Available Tools

create_post

Create a new Telegram post.

Parameters:

  • platforms: Array with your Telegram connection ID (e.g., ["telegram--1001234567890"])
  • content: Message text (supports markdown)
  • scheduledTime: ISO 8601 UTC datetime. Optional: omit it and the post is created as a draft. Send a future time to schedule. A time five or more minutes in the past is rejected with SCHEDULED_TIME_IN_PAST, so for immediate posting use the current time plus a minute.
  • mediaUrls: up to 10 public https image or video URLs. Publora downloads them server-side and attaches them before validation, so media and scheduling happen in one call. This is the one-shot alternative to the draft then get_upload_url then complete_media flow. Ingestion is rate-limited to 60 URLs per hour.

get_upload_url

Get presigned URL for media uploads.

complete_media

Finalize a file uploaded through get_upload_url, after the presigned PUT succeeds. Optional, because scheduling also finalizes pending media, but calling it early surfaces format and probe errors before publish. Not needed for media attached with mediaUrls.

Parameters:

  • mediaId: the id returned by get_upload_url

list_connections

List your connected accounts with their platform IDs. Call this first and copy the IDs verbatim; they are never guessable. A private channel has no public username: its username is null, so match it by displayName (the channel title).

list_posts / get_post / update_post / delete_post

Manage scheduled and draft posts. update_post also patches content and platforms on a draft or scheduled post, so fixing a typo or retargeting no longer means delete and recreate. delete_media and prune_media_reference clean up uploaded files.

Post Options (via REST API)

Telegram-specific options available via REST API platformSettings.telegram:

OptionDescription
disableNotificationSend silently (no sound)
disableWebPagePreviewNo link preview cards
protectContentPrevent forwarding/saving

Caption-above-media is not settable: showCaptionAboveMedia is not an accepted key and sending it returns 400 PLATFORM_SETTING_UNKNOWN.

Note: platformSettings is accepted by the MCP create_post and update_post tools as well as over REST. The schema is strict: a mistyped platform or key is rejected with a validation error rather than silently dropped.

Examples

Simple Channel Post

Post this to my Telegram channel:
"*Product Update v2.5*

We have shipped the following improvements:
- _Faster API response times_ (avg 45ms)
- New `batch` endpoint for bulk operations

[Read the changelog](https://example.com/changelog)"

Formatted Announcement

Create a Telegram post with this formatting:
"*Important Update*

We're launching our new feature tomorrow at 10 AM UTC.

_What's new:_
- Feature A improvements
- Feature B release

[Read the full announcement](https://example.com/update)"

Post with Image

Post this image to my Telegram channel with caption:
"*New Dashboard Preview*

Here's a sneak peek at our redesigned analytics dashboard."

Important: Caption must be under 1,024 characters when posting with media.

Scheduled Post

Schedule this for tomorrow at 8 AM Moscow time:
"*Good morning!* Here's your daily market summary..."

Important Restrictions

  1. Caption limit is 1,024 chars: When posting with media (images/videos), text is sent as a caption limited to 1,024 characters. Text-only messages allow 4,096 characters.

  2. Video max 50 MB: Bot API limits videos to 50 MB (not 4 GB like regular users). Large videos will fail.

  3. Bot must be admin: Your bot needs administrator role with can_post_messages permission. This is verified at connection time and re-checked by POST /test-connection/{platformId}, not before each post.

  4. No mixed media: A single post cannot contain both images and videos.

  5. Caption overflow: If caption exceeds 1,024 chars on a media post, it's sent as a separate reply message instead of being truncated.

Best Practices

Content

  1. Use formatting: Bold headlines, italic emphasis improves readability
  2. Link previews: Great for articles; disable for cleaner announcements
  3. Emoji usage: Common and expected on Telegram
  4. Post length: No penalty for longer posts on text-only messages

Timing

  • Global audience: Telegram users are worldwide; consider timezone posts
  • Best times: 8-10 AM, 12-2 PM, 7-9 PM in target regions
  • Frequency: Channels can post more frequently (5-10/day)

Engagement

  • Enable comments in channel settings for discussions
  • Use polls for engagement
  • Pin important announcements

Troubleshooting

ErrorCauseSolution
"Bot not admin"Bot missing admin permissionsAdd bot as admin with can_post_messages
"Channel not found"Wrong channel name/ID, or the bot is not in the channelVerify @channelname or the -100… chat ID, and add the bot as an administrator
"Invite links cannot identify a channel for a bot"A t.me/+… invite link was enteredUse the channel's -100… chat ID or a t.me/c/… message link
MEDIA_CAPTION_TOO_LONGCaption > 1,024 charsShorten caption or use text-only post
"Bad Request: file is too big"File > 50 MBCompress video/image to under 50 MB
"Mixed media not supported"Images + video in same postUse one media type per post

よくある質問

AIスキル「Telegram Post」では何ができますか?

Use when the user wants to post or schedule to a Telegram channel or group through Publora, using a bot. Covers Telegram markdown, silent delivery, link previews and forward protection. Bot API caps media captions at 1,024 characters and videos at 50 MB. Not for other platforms (each has its own skill).

TypingMindでTelegram Postを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Telegram Postはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにTelegram Postをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/publora/skills/tree/main/skills/telegram-postを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Telegram Postを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Telegram Postで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもTelegram Postを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Telegram Post」は無料ですか?

はい。publoraがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇