Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Easy Telegram Connector

Apraksts

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

Ekrānuzņēmumi

  • Plugin Settings
  • Plugin Settings
  • Contact Form Settings

Uzstādīšana

After you install plugin via WordPress plugin installer or upload and activate it manually, you have to set it up.

  1. 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.

  2. 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.

  3. 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.

  4. Form Settings
    In Contact Form you can override common settings and add message template, bot and user, who will receive message from form.

BUJ

Installation Instructions

After you install plugin via WordPress plugin installer or upload and activate it manually, you have to set it up.

  1. 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.

  2. 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.

  3. 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.

  4. Form Settings
    In Contact Form you can override common settings and add message template, bot and user, who will receive message from form.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Easy Telegram Connector” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Easy Telegram Connector&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.0

  • First version of plugin published