Broadcast your WordPress content to Telegram channels, groups and subscribers, and build interactive bots with autoresponders, keyboards and Zapier.
👉 Download: wordpress.org/plugins/telegram-bot
- 📣 Broadcast posts, pages or custom messages to channels, groups, supergroups and bot subscribers
- ⏰ Automatic notifications on publish (also for scheduled posts), with a configurable template
- 🤖 Responders: unlimited commands and autoresponders, with custom keyboards and inline buttons
- ✍️ Block editor integration to choose whether and where each post is sent
- 👥 Subscribers & groups management, with per-user activity counters
- 📍 Location-aware replies (Haversine helpers)
- 🔗 Zapier integration and a sidebar widget
- 🔐 Secure Telegram WebHooks (HTTPS), nonces and capability checks; no third-party servers
- WordPress 4.6+ (tested up to 7.2)
- PHP 7.0+
- HTTPS, so Telegram can deliver WebHooks to your site
- Install and activate the plugin.
- Create a bot with @BotFather and copy its token.
- Go to Telegram → Settings, paste the token and save.
- Optional: add the bot as administrator of your channel and enter the channel
@username.
// Send a message
telegram_sendmessage( $chat_id, 'Hello!' );
telegram_sendmessagetoall( 'Message for everyone' );
telegram_sendmessage_channel( 'Message for the channel' );
// Reply to a custom command
add_action( 'telegram_parse', function( $user_id, $text ) {
if ( $text === '/ping' ) {
telegram_sendmessage( $user_id, 'pong' );
}
}, 10, 2 );Actions: telegram_parse, telegram_parse_location, telegram_parse_photo, telegram_parse_document, telegram_send_post_before, telegram_send_post
Filters: telegram_get_reply_markup_filter, telegram_subscribers_register_capabilities, telegram_groups_register_capabilities
Issues and pull requests are welcome. Licensed under GPLv2 or later.