• ALERT

    We are currently undergoing a minor database conversion which may have caused the email management system and registration and other minor issues, our team is working on getting our new database system up and running as soon as possible, thank you for your understanding!

    If you have any other questions, feel free to open a ticket on our discord server https://dc.gleaks.pro/

[TL] Telegram Integration

xF2 Add-ons [TL] Telegram Integration 1.0.5

Register to download this resource

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

Telegram Webhook​

To set new webhook open this URL on your browser

Code:
https://yourdomain.com/misc/telegram/webhook?set=1

To delete the currently webhook:

Code:
https://yourdomain.com/misc/telegram/webhook?delete=1

Add new commands​


PHP:
<?php

use Truonglv\Telegram\App;

$telegram = App::getTelegram();
$telegram->addCommand('test', 'Some\Class\HandlerForCommand');

Uploader


Downloads
2
Views
133
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from ArteffKods

Similar resources

Discord Integration ArteffKods
Discord Integration allows you to establish a connection and manage your Discord server
0.00 star(s) 0 ratings
Updated
This addon integrates your Discord server with your XenForo forums.
0.00 star(s) 0 ratings
Updated
Back
Top Bottom