描述
Easy Telegram Connector Plugin does exactly what it’s name implies – it connects your WordPress website with Telegram.
Functionality available:
- Sending messages to Telegram channels from contact forms;
- Different bots, templates and chants for each form;
- Connection through proxy;
Upcoming functionality:
- Autoposting
安装
After you install plugin via WordPress plugin installer or upload and activate it manually, you have to set it up.
-
Create a bot
First of all, you need to create a bot, which will be used to interact with the user. If you already have a bot, you will need a token of existing bot.
To create a new bot, you will need to interact with BotFather – https://t.me/BotFather. -
User ID
You need to know ID of a user who will be receiving messages. It is possible either using the https://t.me/ShowJsonBot, or sending message to your bot, then going to URL https://api.telegram.org/botbot_token/getUpdates (replace with your token). In both cases you will see a JSON object, where the ‘chat’ property will have id inside of it – this will be the user unique identifier. -
Common settings
Insert collected data in plugin settings in Settings > Telegram Connector
You can also set proxy server parameters, if you have problems with connecting to Telegram servers. -
Form Settings
In Contact Form you can override common settings and add message template, bot and user, who will receive message from form.
常见问题
- Installation Instructions
-
After you install plugin via WordPress plugin installer or upload and activate it manually, you have to set it up.
-
Create a bot
First of all, you need to create a bot, which will be used to interact with the user. If you already have a bot, you will need a token of existing bot.
To create a new bot, you will need to interact with BotFather – https://t.me/BotFather. -
User ID
You need to know ID of a user who will be receiving messages. It is possible either using the https://t.me/ShowJsonBot, or sending message to your bot, then going to URL https://api.telegram.org/botbot_token/getUpdates (replace with your token). In both cases you will see a JSON object, where the ‘chat’ property will have id inside of it – this will be the user unique identifier. -
Common settings
Insert collected data in plugin settings in Settings > Telegram Connector
You can also set proxy server parameters, if you have problems with connecting to Telegram servers. -
Form Settings
In Contact Form you can override common settings and add message template, bot and user, who will receive message from form.
-
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0
- First version of plugin published