Bots Master Wordpress Plugin - Rating, Reviews, Demo & Download

Bots Master Wordpress Plugin - Rating, Reviews, Demo & Download
No ratings yet
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

GitHub project: https://github.com/bots-master/wp-bots-master

The features list
– Telegram Bot integration
– Send a message to all Telegram Bot’s Subscribers
– Send a message to Telegram Group Chat
– Post a message in Telegram Channel

Requirements

PHP version 7.2 or later

Uninstall The Plugin

After the plugin deactivating, all the Plugin data will be removed permanently.

How To Use

Collect Sudscribers

!!! IMPORTANT !!!
If a user was subscribed to a bot before the bot installing, it will not works.
The plugin does not able to grab your bot’s old subscribers from the Telegram side.

So, you are able to message users after the next steps
1. Set a Telegram Bot API Token in WP Admin
2. A user subscribe to the bot (send any message or click any button)

Now, you are able to message the subscriber.

Group Chat / Channel

Add Group Chat / Channel to The Chatbot

  1. Go to the Telegram and create public a Group Chat or a Channel (Chat)
  2. Add your Bot to the Chat. It has to be able to post a message.
  3. Copy the Chat username
  4. Go to Bot Master > Channels and add the username here

Now, your bot will posts a message to the Chat, you send at Bot Master > Send Message

Code Usage

`php

use WebXIDBotsMasterChatBot;
use WebXIDBotsMasterChatBotBotUser;

BotUser::find([‘type_id’ => ChatBotBotUser::TYPE_CHAT]); // returns all Group Chats and Channels list
BotUser::find([‘type_id’ => ChatBotBotUser::TYPE_USER]); // returns all subscribers

BotUser::all(); // returns all records

// ————————-

$bot_user = BotUser::findOne([‘type_id’ => ChatBotBotUser::TYPE_USER]);

$bot_user
&& ChatBot::factory($user)
->sendMessage(‘Hello world!’); // will send the message, if the plugin installed correctly
`

Please, check the Doc https://core.telegram.org/bots/api#html-style to get allowed HTML tags

Screenshots

No screenshots provided


Reviews & Comments