How to Add Telegram in Your WordPress Site?
Do you want to add telegram app in your WordPress site? Like WhatsApp, Telegram has steadily growing users from different regions of the world. Adding in your website, visitors can use for getting desired using experience in interaction. In this blog, we will see how to add telegram in your WordPress site quickly.
What is Telegram? Telegram is a powerful, secure, private cloud based messaging app. It allows users to interacts with all contact but messages sent by telegram are encrypted and deleted.
You can store your files and send file as large as 1.5 GB each. The best thing is that it is totally free, no disturbing ads and no tracking is present there.
You can create and join group having small communities having option of private and open group setting.
Further, Telegram has features similar to slack, a popular collaboration platform for teams. You can create channels and share your messages inside your group, both in open and private mode.
Like Slack, Telegram has bots and it can be created by anyone to make them do things on the platform.
But, the best feature is API which allows users to integrate with their own app with the telegram. Interestingly, there are hundreds of integrations available for Telegram to use. And third party apps for telegram is steadily growing now.
Reasons to Telegram with WordPress Usually, Telegram is a communication app and it is being popular for its slack-like feature among developers and remote teams relying on online communication tools. It is an ideal choice for communication if you’re managing a small team working on WordPress site. Because, it can be used to send notification to group, channel or profile. Creating private group enables to conduct closed door communication and collaboration in team.
Integrating Telegram with WordPress To do that, you need to install and activate Telegram for WP plugin. Similarly, you need to follow a step by step guide needed to install a WP plugin.
After activation, plugin will add a new menu item labeled “TWP settings” in your WordPress admin bar. Click on it and you will be taken to plugin’s settings page.
You need a few access token to connect with Telegram API. There are several ways to create API tokens for individual chat, group and channels depending where you want to send notification.
Download and install Telegram app on your device. It is available for Android, iOS, Mac OS X, Windows, and Linux. If you haven’t got it, simply go to Telegram apps page to download and install the app.
Sending Notifications from WordPress to Telegram The Telegram WP plugin can be used to receive your WordPress notification email directly. Here is how to set this up.
First, start a new chat with notifcaster_bot in Telegram. Click on search box in app and type notifcaster_bot. Now, you can see bot profile in Telegram and click on it to open chat window.
Type token to generate an API key in the chat window. You will get a token from notifcaster bot and it will be displayed in the chat window.
Copy the API token and paste in API token filed in plugin settings. After that, you send a test message by clicking on send now button.
After getting the test message from notifcaster bot in Telegram, check if everything is working fine to click on save changes button to store the settings. Now, you will receive notification of WordPress in Telegram and ideal choice for users when having troubles in receiving email in WordPress. Apart from that, you can send notification to group of users in Telegram. Remember, you need to create group first and ask other to join your group.
Add all members in the group and invite notifcaster_bot to your group. Now, click on the group name in the top to get settings and click on add members to add notifcaster_bot to your group.
The notifcaster_bot will create a new API key in its own chat window. The API key will start with a g: prefix, copy and page this plugin setting and store your stetting.
You will start receiving WordPress notifications in Telegram group. But, if you are sending notifications to a group then you won’t receive notifications in secret chat window with notifcaster bot.
But, it is essential to add users having admin access to your site in this group. This is because users will see all notification that site administrator receive in WordPress.
Sending WordPress Posts to Telegram Channel Telegram channels are special chatrooms that are closed and open. You can use a Telegram channel for site visitors where they can hangout with others in your site.
If you are interested, let us see how to create a Telegram channel and send WordPress posts to your Telegram channel.
To do that, you need to create your channel first. Click on add new icon and select a new channel.
Creating a new Telegram channel You need to fill your name and description for your channel with a short URL. This URL is usually used by users to invite others to the channel.
After creating the channel, you need to create a Telegram bot. While creating the telegram bot, you needn’t to write any code.
Open a new secret chat with the botfather. In chat window, type newbot so that botfather can create a new bot for you. You can choose a name and username for your new bot and you will get an API key.
To do that, switch to telegram channel and click on channel name presence at the top to access channel settings. Click on administrators in the setting screen.
Channel options in Telegram In this, you will get list of administrators on the channel. To do that, you need to click on administrator and type username of bot that has been created earlier. Now, add the bot as an administrator to your channel.
Now, go to botfather chat window and copy API access token given to the bot. Paste the access key in plugin settings next to bot token option.
Channel settings in Telegram for WordPress plugin Embed your channel username with the @ sign. Channel users name is similar to name used channel short URL.
Now, click on send now button and plugin will send a test message to the channel. Save the changes clicking on save changes button to store your settings.
You can directly send post from your WordPress site to you Telegram channel now. In the post editor screen, you will get option to choose to send post to Telegram channel.
When you update a post, plugin will send a message to Telegram channel using these stored settings.
I think the blog will be used for you to add telegram in your WordPress site easily.