Telegram Bot For WordPress Plugin

Overview

Search in WordPress with TTMGABot Plugin

The most comprehensive Telegram connection plugin through WordPress

WordPress Telegram Bot Plugin is a multipurpose plugin to create a telegram bot for the WordPress site. Through the countless capabilities of WordPress and Telegram bot, you will be able to make your website content searchable and observable for users.


After activating the plugin and creating the bot and connecting the bot and website through the plugin setting section, the Telegram Hook is connected to your WordPress site database and through Telegram Bot, all contents of your website are accessible by the users… Any person who enters your telegram bot, through the category menu will be able to search your site content by category. Then he can study posts and information on  bot… Also, if you enable access for view and add-comments options for a single post by WordPress settings, the user will be able to view all the available comments for that post or even add a new comment. Users are also able to use the search menu in the bot and search the given item by keyword. In the log-in /sign-up section of the bot, the user, through entering his/her email address, will be able to connect the user panel (available in site) to the bot. Consequently, if the email address entered in the bot was already registered in the site, the bot requests the password, and if the entered password is correct, the person can log in the user’s panel and in fact log in the site by the bot. If the entered email is not already available in the site, the user is registered in the site and logged in by bot… After login, the user will be able to edit his/her profile and activate the notification section of his panel… By activating the notification, all the emails sent to the user will be also sent to the person’s telegram account.

Through adding the post section (if enabled) all bot users will be able to play the role of author for your site, and send their posts and comments to you…  All posts after submission by the user is also sent to manager of the website and the manager can share the comments in the site after the approval. This feature can only be enabled for site administrators / authors and the normal site users can be denied access (by the plugin settings panel). The bot menu has a contact us section that user, by this section like the contact with us form, the users can send their requests for you. The webmaster (if he likes) can enter the online chat with the user who sent the contact form.

About Us section in the bot, which can be edited from the plugin setting panel, can also be used to introduce your site and bot.

Another feature of the plugin is forwarding posts and comments to the channel and the bot users … This section of plugin works like the plugin of telegram for wp (written by Amir Moosavi)… So that through adding your own bot to the telegram channel, you will be able to display the information that you sent in the site, in your own channel as well as customize your message structure. By choosing options like sending to the channel or sending to users for each post, you can specify that in which section, this post should be displayed. It should be noted that the message structure of all two sections can be edited by the settings panel.

The bot has a management section specific for the site manager that is activates by sending bot token for the bot itself. The webmaster can manage his website through this bot, enable notifications and write new posts on his site and display them.

Features

  • ✔Viewing posts displayed on the site by category in Telegram bot
  • ✔Searching the WordPress content by Telegram bot
  • ✔Adding comments and viewing all the sent comments related to the post
  • ✔Access control of Posts based on WordPress settings
  • ✔Allowing  Authors and even bot users to add their Posts to the site
  • ✔Registering on the site by bot
  • ✔Login by bot for users who are already registered on the site
  • ✔Editing the User profile by bot
  • ✔Enabling and disabling the options to receive notification by any user in bot
  • ✔Setting the text of “About Us Section” by admin panel
  • ✔Receiving user criticism and suggestion
  • ✔Publish posts to Telegram Channel
  • ✔Publish posts to the bot users
  • ✔Adjusting the structure of messages sent to the channel and users
  • ✔Bot Management Panel on Telegram
  • ✔Receiving all the notifications by the admin panel of bot
  • ✔chat with bot users

Requirements

  • WordPress 4.4 or later

Instructions

  • Step 1 – Installation and Running of Plugin :

If you have downloaded the plugin already on your computer and now you want to add it to your site via the WordPress admin panel, it is enough to do the following instructions:

First, go the “plugins” menu and choose the “adding” sub-menu.Then click on the upload link .

Now click on the button “Choose File” and select the zip file of plugin. Then click on the “Install” button.
When the upload is complete, click on the plugin activation link to activate the plugin activates and make it ready to use.

  • Step 2 – Creating and Activating the Bot :

After installing the plugin, the first step is activating bot on your WordPress site.
As a result you must first create a bot by BotFather. Then with a Token that BotFather gives you and entering it in WordPress plugin settings, enable your bot.

Part I: Making a Bot in Telegram
To do this, you need to go to the bot of BotFather in the telegram,
Click to enter and create your own bot in a few simple steps,

  1. After registering on the bot (pressing the start button), send the newbot command.
  2. Pick a name for your bot and send it.
  3. At this step, you must select a username for the bot.

Note that you must comply with the following when choosing a username.

  • ###li/li######li/li###
  • Username should not be too long. Try to use a simple username associated with your brand.
  • Username must be between 5 and 32 characters.
  1. After completing the steps above, BotFather will send you a text as Token, for example: AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw110201543

Your telegram bot  has been created at this stage. Copy the provided Token and return to your WordPress site. Now you need to connect your bot to WordPress.

Part II: Bot Activation in the plugin
To activate your bot, first refer to the plugin settings as the following image.

Now the Token that you copied in the previous step, paste into the * Bot  Token* field.

And then click on the Token Activation option … If your token entered correctly, you should see Name and ID of the bot and message of success of bot activation in the field below the * Bot Token *:

Then go to the bottom of the page and click on the Save Changes option until Token gets stored on your site database.
Now your WordPress site is connected to the bot successfully and you can go to your bot in Telegram and after pressing “start,” you will access to the bot menus.

Related