Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Integrate Your WordPress Site with Telegram (Easy Way)

Integrating Telegram with your WordPress site can open up new ways to connect with your audience. This messenger app offers powerful security and privacy features, making it a great choice for sharing updates and receiving notifications.

While integrating Telegram is beneficial, there can be challenges.

Setting up the integration might require some technical knowledge, which can be daunting for those unfamiliar with the process. Managing notifications effectively is equally important, as too many alerts can overwhelm your audience.

After testing out popular WordPress-Telegram integration plugins, we found WP Telegram (Auto Post and Notifications) to be one of the best for the job.

In this article, we’ll guide you through the steps to properly integrate your WordPress site with Telegram.

How to Integrate Your WordPress Site with Telegram

Why Integrate Your WordPress Site with Telegram?

Telegram is a popular cloud-based messaging app like WhatsApp, only more secure. It comes with features that are similar to Slack, a popular collaboration platform for teams.

It’s easy to integrate Telegram into your WordPress website using a plugin. This is an ideal way to keep your users and team up to date with what’s happening on your site.

For example, you can automatically share your blog posts on a Telegram channel. Also, you can send WordPress notifications to Telegram to keep up to date with everything that needs your attention on your site.

With that in mind, we’ll share how to integrate your WordPress site with Telegram. Here’s a quick overview of all the steps we’ll cover in this article:

Ready? Let’s jump right in!

Connecting WordPress and Telegram: Initial Set Up

The first thing you need to do is install and activate the WP Telegram (Auto Post and Notifications) plugin. For more details, you can see our step-by-step guide on how to install a WordPress plugin.

Upon activation, the plugin will add a new menu item labeled ‘WP Telegram’ to your WordPress admin dashboard. Clicking on it will take you to the plugin’s settings page.

On the page’s ‘Basics’ tab, you’ll find a simple summary of how to set up Telegram for WordPress integration. We’ll walk you through these steps.

WP Telegram's Basic Settings

If you are not already running Telegram, then your first job is to install it on your mobile device and then sign up for an account. This must be done on mobile because each account is linked to a phone number.

Simply go to the Telegram apps page to download and install the app for Android or iOS.

After you sign up, you can also run Telegram on your computer. Versions are available for macOS, Windows, Linux, and the web.

You’ll be integrating WordPress and Telegram using a bot. To create a bot, simply search Telegram for @BotFather and then click on that user to start a chat.

Search for the @BotFather Bot

You’ll see a list of Telegram commands you can use when chatting with this bot.

You need to type the command /newbot inside the chat.

Use the /newbot Command to Create a New Bot

A new bot is created, and you’ll be asked to give it a name. This can be anything you like.

In this case, you might want to type ‘Bot for WP Telegram.’

Choose a Name for the Bot

Next, you need to choose a username for the bot. It needs to be unique and end in ‘bot.’

For this tutorial, we’ll type XYZ_wptelegram_bot.

Choose a Username for the Bot

You’ve now successfully created a Telegram bot.

A token will then be displayed in the chat window. Make sure you don’t share this token with anyone because you will use it to control your bot.

Copy the Bot's Token

Let’s copy the token to the clipboard.

After that, you should return to your website and then paste the token into the Bot Token field under WP Telegram.

Paste the Token Into the Plugin's Settings

Once you’ve done that, you should click the ‘Test Token’ button.

The token is connected to this specific bot, so the ‘Bot Username’ field fills in automatically.

Click Test Token and the Bot's Username Will Be Filled In Automatically

Don’t forget to click the ‘Save Changes’ button to store your settings.

Congratulations, you have finished the initial setup of Telegram and the WP Telegram plugin.

Next, you can configure the plugin to send WordPress posts to Telegram or send yourself WordPress notifications.

Integrating WordPress Posts to Telegram

Make sure you’re on the ‘Post to Telegram’ tab in the plugin dashboard.

This page will let you configure the plugin to automatically send your posts to Telegram when they are published.

First, you need to toggle the ‘Active’ switch to the ‘On’ position.

Toggle the Active Switch on the Post to Telegram Tab

You will now see instructions on how to send your WordPress posts to Telegram.

Creating a Channel on Telegram

If you don’t already have a public Telegram channel, then you’ll have to create one.

To do this, you need to switch back to the Telegram app.

Then, you should click the ‘New’ icon at the top of the screen and click ‘New Channel’ from the dropdown menu.

Choose New Channel or New Group From the Drop Down Menu

On the next screen, you’ll see a description of what a Telegram channel is.

You’ll need to click the ‘Create Channel’ link at the bottom of the page.

Click on Create Channel

Now, you need to give your channel a name and description. Remember that this will be a public channel, so name it appropriately.

After that, you should click ‘Next’ at the top right of the page.

Give Your Group or Channel a Name

Finally, let’s make sure your channel is public so your users can subscribe.

You should also create a public link to make it easy to find and join. Simply type a unique ID after https://t.me/.

You might want to make a note of the ID because you will need it later when setting up the plugin in WordPress.

Add a Public Link to Your Group or Channel

When you click ‘Done,’ your Telegram channel will be created, and you will now need to add your bot as an administrator.

With your channel selected in Telegram, you need to click the ‘…’ menu at the top right of the screen and select ‘Info’ from the dropdown menu.

Go to the Info Page for Your Channel or Group

This screen displays information about your channel and provides buttons and menus so you can configure it.

Go ahead and click on the ‘Administrators’ menu to expand it.

Click on the Administrators Menu

Here, you can add a new administrator by clicking the ‘Add Admin’ link.

On the popup, you’ll enter the username of the bot you created earlier, and then click on the bot’s name in the list below.

Add Your Bot as an Administrator

The next screen will show you the bot’s permissions.

You can leave them as they are, but make sure that ‘Post Messages’ is enabled.

Make Sure Your Bot Has Permission to Post

When you click ‘Done’ at the bottom of the popup, your bot will be added as an administrator of your channel.

Here’s what it might look like on Telegram:

Your Bot Is Now an Administrator of Your Channel or Group

Adding Your Telegram Channel or Group to WordPress

Now you’ll need to return to your WordPress website to finish setting up the plugin, and you should still be on the ‘Post to Telegram’ tab.

In the ‘Destination’ section, you need to click the ‘+ Add’ button.

Click the +Add Button in the Destinations Section

You can now enter the channel or group ID you created earlier. That’s the last part of the public link you created, and we asked you to note it.

You can then click the ‘Send Test’ button to send a test message to your group or channel to make sure the connection works.

Click the Send Test Button to Make Sure Your Bot Can Post

You’ll see a popup with the default message, ‘This is a test message.’ If you like, you can customize it to say whatever you want and then click the ‘OK’ button.

If you set up the plugin successfully, then you should see the test message in your channel or group in Telegram.

Make Sure the Test Message Was Successfully Posted in Telegram

Other Settings for Sending WordPress Posts to Telegram

Now, you can return to your site and finish setting up the plugin.

In the ‘Rules’ section, make sure the box is checked to send new posts when they are published. If you like, you can check the second box as well, which will post to Telegram when you update an existing post.

After that, check the boxes for the post types you wish to broadcast on Telegram. The ‘Post’ box is checked by default, and if you like you can also check the ‘Page’ box.

If you have custom post types, then you may have additional checkboxes. For example, you might see WooCommerce product page, BuddyBoss forums, or Envira Gallery’s image and video gallery.

Choose Which Post Types to Send and When to When to Send Them

You can add custom rules to further customize which posts are sent to Telegram.

For example, the screenshot below shows a rule to only send posts to Telegram if they are in the ‘Top Posts’ category.

Example of a Custom Rule

The WP Telegram plugin comes with many other options that let you customize the way your posts are sent. You can check and adjust them as needed. However, the default settings will work fine on most websites.

Once you’re happy with the settings, you can scroll to the bottom of the page and click the ‘Save Changes’ button to store your settings.

Now, when you are creating or editing a post, you will see a new ‘Send to Telegram’ setting in the WordPress editor.

The WordPress Editor Now Has a Post to Telegram Setting

This is switched on by default. Simply switch it off if you don’t wish to send the post to Telegram.

The next time you publish a post that matches the rules you set, it will be automatically sent to your Telegram channel or group.

Preview of a WordPress Post Sent to Telegram

Sending WordPress Notifications to Telegram

Make sure you’re on the ‘Private Notifications’ tab on the ‘WP Telegram’ page.

This page will let you configure the plugin to automatically send WordPress notifications to an individual privately or to a group on Telegram.

First, you need to toggle the ‘Active’ switch to the ‘On’ position.

Toggle the Active Switch on the Private Notifications Tab

You will now see instructions for two different methods on how to send your WordPress posts to Telegram.

Sending Notifications From WordPress to an Individual on Telegram

This method is best if you’d like WordPress to send notifications to just one person.

You will have to give the WP Telegram plugin your ‘User Chat ID’ on Telegram.

To learn your ID, you need to search for @MyChatInfoBot on Telegram and then click on the first search result under ‘Contacts and Chats.’

Search for @MyChatInfoBot on Telegram

After that, simply click ‘Start’ at the bottom of the screen to start a chat with the bot.

In its first message, the bot will display your ‘Chat ID’ in red.

The Bot Will Post Your Chat ID

Let’s just copy the Chat ID to the clipboard and then return to your website.

In the ‘Notification Settings’ section, as shown in the screenshot below, you will find your admin email address. This is where WordPress admin notifications are sent by email.

Each time a notification is sent to this address, WordPress will also send it to the Telegram user you will enter in the plugin settings.

If you need to, you can use a different email address. To receive notifications sent to all email addresses, simply type ‘any’ in the ‘if email goes to’ field.

Click the +Add Button so You Can Add the Chat ID

Next, you’ll need to enter the ‘User Chat ID’ you copied. Simply click the ‘+Add’ button.

This will show a new field under ‘Send it to,’ and this is where you should paste your ID.

Paste the Chat ID Into the Field

Don’t click the ‘Send Test’ button yet.

You’ll need to start a conversation with the bot you created earlier because bots can’t initiate a chat on Telegram.

You’ll have to switch back to Telegram and search for the name of the bot you created during the setup stage. Once you click on the bot, you can start a conversation by clicking ‘Start’ at the bottom of the screen.

Start a Chat With Your Bot in Telegram

Now, you can return to WordPress and click the ‘Send Test’ button. You should then click ‘OK’ on the popup message that appears.

A confirmation will be displayed next to the ‘User Chat ID’ in WordPress, letting you know if the message was successful. You should also check Telegram to make sure the message is actually posted there.

Test Message Successfully Sent to Telegram

Now, let’s navigate back to your WordPress site, scroll down to the bottom of the page, and click the ‘Save Changes’ button to store your settings.

Congratulations! You will now receive a Telegram message each time an admin notification is sent to your site.

Sending Notifications From WordPress to a Group on Telegram

This method is best if you work with a team on your WordPress website and want some or all of them to see the admin notifications on Telegram.

The steps for this method are similar to the ones above for sending notifications to a single user on Telegram. However, instead of pasting a ‘User Chat ID’ into WordPress, you will need to paste the ‘Group Chat ID.’

If you don’t already have a Telegram group for your team, then you need to create one.

While a Telegram channel is simply for posting information, members of a group are able to communicate with one another. You can also control who belongs to the group.

You should click the ‘New’ icon at the top of the Telegram screen and select ‘New Group’ from the drop-down menu. The group will be private by default.

Create a New Group in Telegram

After that, you need to add any other members you wish to be part of the group.

You will be automatically added to the group, and you will need to add at least one additional member.

Select the Users You Wish to Add to the Group

After adding your team members, you should click ‘Next’ at the top of the screen.

Finally, clicking ‘Create’ at the top of the screen will create the group.

Name Your Group and Then Click Create

Now that you’ve created a group and added your team members, you will need to add two bots.

First, you should add @MyChatInfoBot so that you can find the Group ID to paste into the plugin settings in WordPress.

Second, you need to add your own bot so that the plugin can send WordPress notifications.

You can open the group’s ‘Info’ page by clicking on the group name at the top of the screen. Once there, you need to click the ‘Add’ button to add new members.

Click the Add Button to Add the Bots to the Group

Next, you need to type @MyChatInfoBot into the ‘Add Members’ field and then click on it in the search results.

Then, you’ll do the same with the bot you created during the initial Telegram setup.

Add 2 Bots to Your Group

Let’s make sure you click ‘OK’ to add the two bots as group members.

You’ll then notice that the @MyChatInfoBot bot has automatically added your Group ID to the chat.

Copy the Chat ID of Your Group

Next, you can paste this ID into the ‘Send it to’ section back on your WordPress site.

Now, you can click the ‘Send Test’ button to make sure that everything is set up correctly.

Paste Your Group Chat ID Into the Plugin's Field

The plugin will pop up a default message that you can change if you like. After that, you should click the ‘OK’ button.

Now, go ahead and switch to the Telegram app and make sure the test message was posted.

Test Message Successfully Posted to Telegram

Congratulations! Your WordPress notifications will now be sent to your Telegram group.

Integrating Your WordPress Site With Telegram FAQ

In this section, we’ll answer some common questions about integrating WordPress with Telegram.

How do you add a Telegram button to WordPress?

You can use a social media plugin, like Social Snap, to add a Telegram button to your WordPress site. The general steps include installing the plugin, connecting it to your Telegram account, and customizing your button settings.

For detailed instructions, you can check out our guide on how to add social share buttons in WordPress.

Is Telegram useful for a business website?

Absolutely! Telegram is great for business websites because it allows you to communicate with customers directly and securely. You can send updates, answer questions, and even create channels for announcements, making it easier to engage with your audience.

What are some good website builders for integrating chatbots?

WordPress is a great option for integrating chatbots, thanks to its wide range of plugins. If you want to use chatbots for customer support, then you can use Heroic KB. For answering sales inquiries, we recommend ChatBot. And if you’re looking for a free solution, there’s HubSpot.

For more information, you can read through our guide on how to add a chatbot in WordPress.

We hope this tutorial helped you learn how to integrate your WordPress site with Telegram. next, you may also want to learn how to display your social media followers count in WordPress or check out our expert picks of the best online community platforms.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

17 CommentsLeave a Reply

  1. TheiotaGuy

    notifcaster does not work anymore :(

    That plugin seems to have been abandoned. No updates from last 3 years (only stable tag updated).

    Please update your tutorial :(

    • WPBeginner Support

      Depending on the plugin some do not need to update the code itself to continue working but thank you for letting us know about notifcaster

      Admin

  2. Pawlik

    Notificaster isn’t working anymore :/ too bad :(

  3. Amira

    Hi. Could I send notification to telegram when someone fill in the form in my wordpress website?

    Thanks.

  4. alin

    how ican send from telegram to my blog in wordpress?

  5. alin

    thank you for this post

    i need Sending Notifications From telegram to wordpress

  6. amin

    hi
    i use zapier to send my posts to telegram,i want to know can i use a code at the end of my post that show “inline buttons”? or is there any plugin for showing this buttons?

    • alin

      How do to send messages from telegram to wordpress with zapier ?

  7. Farid

    Great plugin it is very useful
    Thank you for your tutorial
    and many thanks to this plugin author Mr Amir

  8. MIGUEL DE CABO

    HI THERE:

    NEED YOUR HELP PLEASEEEEE.

    we have recently formed a non-profit Association in favor of parents of autistic children. We have built a web page using a Wordpress theme. We want to have a discussion Forum within our web page using Telegram which must me syncronized with our mobile phone, Ipads, etc, etc to make it more user-friendly since we have several subgroups within that discussion Forum (so that we can upload info at all times, etc). We don’t want just notifications, we don’t want a chat… We want to replicate within our web page what we have on our mobile phones. In other words, I would like to synchronize my Telegram Desktop app with that in my Iphone (which works wonders) but now in our WP Site.

    Many Thanks in advance.

    Regards
    Miguel de Cabo

  9. Jorge León

    I’ve looking for ways to embed a Telegram channel on a wordpress static page. Do you know if this is possible?

  10. vahid mohammadi

    hi thanks for your helpfull article
    my question is can i use this Plugin or some thing else to notify users after their login
    its for more security and i need to do it using SMS or telegram and i think telegram is better choice because its free
    is there any ways…… :) thanks

    • amin

      hi.yeap.
      there is a way, but it will send too all of your users.
      e.g if Ahmad loge to site then your page send notifi to ahmad &mohsen&…all listed users

  11. Kingsley

    Nice, someone did similar thing with whatsapp for my blog, about sending post to telegram can it be down automatically?

  12. Ted Wiberg

    Hello!
    Awesome tutorial, implemented.
    But a question.

    Will for example sites forms gets sent to my Telegram now?

    • WPBeginner Support

      Yes, it would send form emails to Telegram as well. For privacy you may want to keep those notifications limited to a individual user or a private group.

      Admin

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.