🧩 Post Bot

An open-source Telegram bot for saving, managing, and reusing single-message post resources through inline mode

Post Bot

Post Bot

Post Bot is an open-source Telegram bot for saving a single Telegram message as a reusable resource, then sending it anywhere through Telegram inline mode.

Open-source repository: ConnectingEveryCorner/post-bot
Demo bot: @OpenPostKitBot
License: Apache-2.0


Why It Exists

Telegram operators, channel maintainers, and community teams often need to send the same materials again and again: a text announcement, an image, a GIF, a file, a sticker, or a message with bottom buttons.

Post Bot turns those single messages into a small reusable resource library. Save a message once, remember its identifier, and call it from any chat through inline mode without repeatedly rebuilding the same post.

Core Features

  • Save one Telegram message as a reusable resource
  • Store text, photos, GIFs, videos, audio, documents, stickers, contacts, locations, venues, and more
  • Manage saved resources with pagination, refresh, delete, and detail actions
  • Add bottom URL buttons for announcements, promotions, navigation, and call-to-action flows
  • Send saved resources through inline mode with @bot_username identifier
  • Use English or Chinese UI text
  • View inline query and send counters
  • Deploy quickly with Docker Compose and persist data in SQLite

Usage Example

Type this in any Telegram chat:

@OpenPostKitBot 47c309e4

Pick the inline result, and the saved resource is sent into the current chat.

Who It Is For

  • Teams maintaining Telegram channels, groups, or bot ecosystems
  • Operators who frequently reuse fixed media, files, or button messages
  • Developers who want a self-hosted and auditable Telegram resource workflow
  • Builders learning from an open-source Telegram inline bot with persistence and Docker deployment

Open Source and Self-Hosting

Post Bot is open source on GitHub:

https://github.com/ConnectingEveryCorner/post-bot

You can try the demo bot directly, or fork the project and deploy your own version. The project ships with a Docker Compose deployment path: prepare config.yaml, set your Telegram bot token, and start the service.

Before using inline mode in production, enable these settings in @BotFather:

  • /setinline: enables inline mode
  • /setinlinefeedback: enables chosen inline result feedback for send statistics

Post Bot keeps its promise intentionally small: make useful Telegram messages reusable, manageable, and self-hostable. Because it is open source, you can audit it, modify it, deploy it, and extend it as part of your own Telegram tooling.