このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Broadcast to Telegram

説明

Broadcast to Telegram is a very simple plugin that lets you automatically send post notification to your telegram channel via an admin BOT.
It allows you to enroll multiple Telegram channels and you can choose, when sending, which channels make the notification to. It also allows you to choose which type of document is to be used with.
It also gives the possibility, when a document is updated, to know which channels have already been sent a notification and edit directly the Telegram original message, marking it as updated by the (M) symbol.

スクリーンショット

  • Settings page
  • Send metabox before and after sending (on the channel name side the number of members/followers is shown)

インストール

  1. Download the plugin and install it in wordpress
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings > Broadcast to Telegram page enter your channel admin bot token and channels list in the syntax shown on the side.

How do I create a bot and link it to my channels?

There’s a bot… to create a new bot.
Just talk to BotFather (as described below) and follow a few simple steps.

  1. in your Telegram client window search for @BotFather
  2. next you type the following commands:
You:
/newbot

BotFather:
Alright, a new bot. How are we going to call it?
Please choose a name for your bot.

You:
myTestBot

BotFather:
Good. Now let's choose a username for your bot.
It must end in 'bot'. Like this, for example: TetrisBot or tetris_bot.

You:
myUserBot

BotFather:
Done! Congratulations on your new bot. 
You will find it at t.me/mytestbot. 
You can now add a description, about section and profile picture 
for your bot, see /help for a list of commands. 
By the way, when you've finished creating your cool bot, 
ping our Bot Support if you want a better username for it. 
Just make sure the bot is fully operational before you do this.

Use this token to access the HTTP API:
277260464:AAGPNnx_87k1ctokVMffprgzvPgVvrXRAqQ

For a description of the Bot API, see this page: 
https://core.telegram.org/bots/api

Parameters of your just created BOT are:

  • name: myTestBot
  • username: @myUserBot
  • token: 277260464:AAGPNnx_87k1ctokVMffprgzvPgVvrXRAqQ
  • URL: https://t.me/mytestbot

Warning! The data shown are just an example… They are therefore not working!

Now, if not already exist, let’s create on the smartphone channels (or chats) which we want to send notifications to:
e.g. @channel_name1, @channel_name2,

Then on the smartphone add to every channel the BOT username (@myUserBot) as administrator.

Finally insert BOT token and channels list in the plugin settings page and “Voilà, les jeux sont faits!!”

That’s all folks!

評価

このプラグインにはレビューがありません。

貢献者と開発者

Broadcast to Telegram はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Broadcast to Telegram” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

Versione 1.2.0

  • Fixed error in localization

Versione 1.1.0

  • Fixed error on HTML entities

Versione 1.0.0

  • Initial Release on wordpress.org