• 本站招聘各个版块版主共同发展,有意可私聊站长
资源图标

[tl] Telegram Integration 1.0.7

没有下载权限

庆祝国庆中秋本站暂时关闭邀请码注册 https://t.me/tearcc

XenForo with Telegram BotIntegration Telegram BOT with XenForo 2



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



Creating a BotOpen 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



Telegram WebhookTo set new webhook open this URL on your browser





Code:




To delete the currently webhook:





Code:






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');
作者
无名
下载
0
查看
4
首次发布
最后更新

Ratings

0.00 星 0 星

来自无名的更多资源

后退
顶部