WP Telegram (Auto Post and Notifications)

Description

Integrate your WordPress site perfectly with Telegram with full control.

Excellent LIVE Support on Telegram

Join the Chat

We have a public group on Telegram to provide help setting up the plugin, discuss issues, features, translations etc. Join @WPTelegramChat
For rules, see the pinned message. No spam please.

Upgrade to Pro

WP Telegram Pro comes with more powerful features to give you more control. Upgrade NOW

Modules

1. Post to Telegram

  • 📝 Send posts automatically to Telegram when published or updated
  • 📢 You can send to a Telegram Channel, Group, Supergroup or private chat
  • 👥 Supports multiple Channels/chats
  • 🙂 Has Message Template composer with Emojis
  • ⏳ Supports Conditional logic inside Message Template
  • 🖼 Supports sending featured image along with the text
  • 🏞 You can choose to send only the Featured Image
  • ⏱ Supports scheduled (future) posts
  • 🕰 Messages can be delayed by a specific interval
  • ⬜️ You can add an Inline button for the post URL
  • 🛒 Supports WooCommerce products and other Custom Post Types
  • ✒️ Direct Support for sending Custom Fields
  • 🗃 You can send Custom Taxonomy Terms
  • 📋 You can select the post types to be sent
  • ⏲ You can choose when to send (New and/or existing posts)
  • 🎛 Make use of Custom Rules to filter posts by authors, categories, tags, post formats or custom taxonomy terms
  • 🎚 You can override the default settings on post edit page

WP Telegram Pro supports multiple channels based upon category/tag/author/post type etc. and also supports unlimited Reaction buttons.

2. Private Notifications

  • 📧 Get your email notifications on Telegram
  • 🔔 Supports WooCommerce order notifications, Contact Form 7 and other plugin notifications
  • 🔕 Allow users to receive their email notifications on Telegram
  • 🔐 Integrated with WP Telegram Login to let users connect their Telegram.
  • 🖊 Users can also enter their Telegram Chat ID manually on page

3. Proxy

  • 🚫 If your host blocks Telegram, you can use this module
  • ✅ Bypass the ban on Telegram by making use of proxy
  • 🚀 Supports Cloudflare worker as proxy which supports file upload
  • 😍 Option to use custom Google Script as proxy
  • ❇️ Supports all proxies supported by PHP
  • 🔛 You can select Proxy type – HTTP, SOCKS4, SOCKS4A, SOCKS5, SOCKS5_HOSTNAME

Features

  • Excellent LIVE Support on Telegram
  • Easy to install and set up for the admin
  • Fully customizable with actions and filters
  • Can be extended with custom code
  • Translation ready

Getting Started | Post to Telegram

WooCommerce, CF7 etc. Notifications

Get in touch

Contribution
Development occurs on Github, and all contributions welcome.

Translations

Many thanks to the translators for the great job!

Note: You can also contribute in translating this plugin into your local language. Join the Chat (above)

Screenshots

  • Basic Settings
  • Post To Telegram Settings
  • Post To Telegram Settings (Cont...)
  • Post To Telegram Settings (Cont...)
  • Post To Telegram Settings (Cont...)
  • Private Notifications Settings
  • Private Notifications Settings (Cont...)
  • Proxy Settings
  • Proxy Settings (Cont...)
  • Advanced Settings
  • Post Edit Page (Classic Editor)
  • Post Edit Page (Block Editor)
  • Post Edit Page (Block Editor)

Installation

  1. Upload the wptelegram folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress. After activation, you should see the menu of this plugin the the admin
  3. Configure the plugin.

Enjoy!

FAQ

How to create a Telegram Bot?

To create a bot, you need to send /newbot command to @BotFather. After completing the steps @BotFather will provide you the Bot Token, which you can use in plugin settings.

Can I send posts to a private channel/group?

Yes, you need to get the chat ID of the channel or group. For that, you need to message @MyChatInfoBot and follow its instructions to obtain the ID for a channel or group.

What is “Bad request: Chat ID not found” error?

It means either you have entered a wrong chat ID in the settings or you forgot to add your own bot to the group or channel. Some users also enter the bot username instead of the channel username.

What is “Bad Request: wrong file identifier/HTTP URL specified” error?

If you see that error in Bot API log file, it means that there is some problem with your images/files that you are trying to send to Telegram. You can try to disable Send files by URL option in Advanced Settings to see if it fixes the issue. More details here.

Why do I see a CURL (Connection refused) error for Test Token?

If your host is in Russia or Iran or it’s a free hosting, your host most likely blocks Telegram. You can activate and set up the Proxy module of the plugin to bypass the ban.

Why posts are not sent to Telegram?

There can be many reasons for that. To better understand the reason, you can enable both the logs in Advanced Settings and then try to send the post again, then share the logs with our support on Telegram – @WPTelegramSupport.

Why the posts in block editor are sent to Telegram even when Send to Telegram is OFF?

It may be because you hit update button without makes any changes to the post.

Why posts are duplicated on Telegram?

It can happen because of multiple submit/publish/update requests, for example in block editor. An easy solution would be to set 1 minute delay in posting in Post to Telegram settings.

Posts/Classifieds/Jobs/Products created via front-end submission are not sent to Telegram, why?

The users submitting those posts may not have enough permissions to publish/edit those posts. You can enable Plugin generated posts option in Post to Telegram settings to fix the issue.

Posts created via import plugins are not sent to Telegram, why?

Sending of posts when bulk importing is disabled by default to prevent unintended flooding of Telegram channels. If you want to enable it, you can add this one line to functions.php of your child theme.

add_filter( 'wptelegram_p2tg_send_if_importing', '__return_true' );

How can I make the post title bold?

You can use <b>{post_title}</b> in the template and set Formatting option to HTML. More details here.

Can I send posts from different categories to different channels/groups?

That is possible only in Pro version.

How do Private Notifications work?

Private Notifications module watches every email that is sent from your WordPress Website. If the address of that email matches the one added in plugin settings, then that email is sent to Telegram on the given chat/group as added in the settings.

How do User Notifications work?

Private Notifications module watches every email that is sent from your WordPress Website. When you enable User Notifications, you need to connect your users’ accounts to their Telegram accounts. Once you do that, then whenever an email is sent to a user, the plugin finds its connected Telegram account and forwards the email to that Telegram account. So, it works for any plugin/system that sends email notifications.

Can I receive WooCommerce order notifications on Telegram?

Yes, all you need to do is to setup Private Notifications module and use the same email there as set in WooCommerce order email settings.

Can I receive Contact Form 7 submissions on Telegram?

Yes, all you need to do is to setup Private Notifications module and use the same email there as set in “To” field of Mail settings section of the Contact Form.

Reviews

5-р сар 20, 2023
i have a problem for call sale price and regular price in variable product after send request in telegram bot very very soon and i recive good an exact answer tanks big liiiiike
5-р сар 17, 2023
Found a minor bug and contacted support via telegram. Bug was fixed and the plug-in updated within a day. Fantastic support!
3-р сар 16, 2023 7 replies
This works wonders, to notify customers about their orders through Telegram, thank you. Is there a way to notify them without using wp_mail hook? So I don't need to email them aswell? Thanks!
3-р сар 5, 2023
Thanks for your plugin, everything works fine. Technical support quickly helped to understand the settings.
2-р сар 17, 2023
پلاگین کاربردی و خوب با پشتیبانی عالی
Read all 373 reviews

Contributors & Developers

“WP Telegram (Auto Post and Notifications)” is open source software. The following people have contributed to this plugin.

Contributors

“WP Telegram (Auto Post and Notifications)” has been translated into 14 locales. Thank you to the translators for their contributions.

Translate “WP Telegram (Auto Post and Notifications)” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

4.0.11

  • Fixed translations not loaded for some strings

4.0.10

  • Fixed the dollar sign getting nuked from excerpt
  • Fixed logs to avoid bot token added to URL

4.0.9

  • Improved message template sanitization to prevent breaking the markup
  • Added a new filter wptelegram_p2tg_post_data_plain_excerpt to allow sending plain text excerpt
  • Fixed the links added in parenthesis when “Formatting” is set to “None”

4.0.8

  • Fixed the broken hyperlinks in Message Template when using custom field link

4.0.7

  • Fixed the issue of images being retained in post content links

4.0.6

  • Fixed the issue of shortcodes being sent to Telegram

4.0.5

  • Fixed the unintended newlines in Post Excerpt and Post Content

4.0.4

  • Fixed repeated caption for the image when using the “After the text” option
  • Fixed the issue of long texts being truncated

4.0.3

  • Added support for adding internal note to chat IDs

4.0.2

  • Fixed PHP 8.1 issue with HTML conversion

4.0.1

  • Fixed the word count issue with non-english locales

4.0.0

  • Added better support for HTML formatting.
  • Added support for and HTML tags.
  • Added support for nested tags. You can now use inside and vice versa.
  • Intelligently trim {post_excerpt} to preserve the other parts of Message Template.
  • Removed support for Markdown formatting in favour of better HTML formatting
  • Fixed the image not being sent “After the text” when “Send files by URL” is disabled
  • Fixed the issue of messages not being sent when the markup is not valid