功能:用户绑定后,通过与机器人对话获取登录地址/取消两步验证等。
安装插件后,在新管理后台 TelegramBot 菜单,点击编辑后填入所申请的机器人的 Token,记得选择启用,点击保存即完成全部配置。

此时跟你的机器人对话,可以看到菜单有以下命令:

用户绑定后,在管理后台 TelegramBotBinds 菜单能看到绑定信息:

管理人员可以手动删除记录进行解绑,用户自己解绑也会将记录删除。
在消息发送那一栏,可以填入多个群ID/频道ID,把机器人添加进去并设置为管理员和添加相应权限,可以将站点的一些消息发送过去并置顶。目前支持发送站点公告。
包名 | xiaomlove/nexusphp-tgbot |
Gitee ssh | [email protected]:xiaomlove/nexusphp-tgbot.git |
Github https | https://github.com/xiaomlove/nexusphp-tgbot.git |
适用版本 | >= 1.8.12 |
安装步骤:
composer config repositories.tgbot git https://github.com/xiaomlove/nexusphp-tgbot.git
composer require xiaomlove/nexusphp-tgbot
php artisan plugin install xiaomlove/nexusphp-tgbot
Releases
- v1.1.7 - 2024年7月10日
fd9c3d7cbe244fc701452a8bd2a528ef645109b1
修复公告推送至 tg 群/频道失败
- v1.1.6 - 2024年6月13日
ed8ec0c4f0a0ec0a2ac7fe74916fd4074919eb7a
- v1.1.5 - 2024年5月16日
77d845d3432eb17e44ba947d156af486cae5c9d9
- v1.1.4 - 2024年5月11日
69443c458bdb2fdc8967939a7419afa2754ed0ae
- v1.1.3 - 2024年4月4日
22061b04500c0ebb5e0acd9025b008a07d4ff425
缓存 webhook_uri
1条评论