[tl] Telegram Integration

XF2 Addons [tl] Telegram Integration 1.0.5
Integration Telegram BOT with XenForo 2.

Compatible versions
2.2

XenForo with Telegram Bot​

Integration Telegram BOT with XenForo 2

For more information about Telegram BOT please read this introduce and see what BOT can do.

Creating a Bot​

Open Telegram app and log in your account or create new one if you don't have.

1. Search @BotFather in the search box and start conversation with him
2. Type /newbot to create new Bot and follow the bot guide

Once you complete to create the bot you will get token and its required to use with this add-on

Features​

  • Send a message when new access to AdminCP
  • Send a message when you've got new purchase
  • Support custom commands to interact with XenForo

Commands​

  • /help: To print all available commands
  • /most_viewed_threads: To get 10 top viewed threads sorted by views in 24 hours
  • /most_replied_threads: To get 10 top replied threads sorted by reply count in 24 hours
  • /recent_threads: To get top 10 recent threads in 24 hours

Add new commands​


PHP:
PHP:
<?php

use Truonglv\Telegram\App;

$telegram = App::getTelegram();
$telegram->addCommand('test', 'Some\Class\HandlerForCommand');
FateKid
Author FateKid
Level
10
1.0.5 Version
2 Downloads
167 Views
0.00 star(s) 0 ratings Average Rating (0)
Last Update

More files from FateKid

Similar resources

[Telegram] Core FateKid
Plugin provides the ability to log in via Telegram and basic code events for implementing bots.
0.00 star(s) 0 ratings
Downloads
2
[Telegram] Two Factor FateKid
Allows enable your Telegram account as Two Factor provider.
0.00 star(s) 0 ratings
Downloads
4
Coinbase Commerce Integration FateKid
Accept cryptocurrencies (Bitcoin, Ethereum, etc.) as a payment method.
0.00 star(s) 0 ratings
Downloads
11
This add-on is for style developers and add-on coders to integrate Iconify into XenForo.
0.00 star(s) 0 ratings
Downloads
6
Adds a Mastodon connected account provider
0.00 star(s) 0 ratings
Downloads
0
Top Bottom