Avenger

XF 2 [tl] Telegram Integration 1.0.5 1.0.5

No permission to download
Support XF Version
2.2
Compatible XF 2.x versions: 2.2
Additional requirementsPHP: 7.4.0 or higher

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

use Truonglv\Telegram\App;

$telegram = App::getTelegram();
$telegram->addCommand('test', 'Some\Class\HandlerForCommand');
  • 👍
Reactions: ProPescular
Author
Avenger
Downloads
1
Views
14
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Avenger

DMCA & Contact


Any DMCA takedown notice should be sent to this contact email: [email protected] We only respond and take action to plaintext e-mails. Do not send PDF or any other files.
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock