Closed
Description
Required Information
- Operating system: Windows
- PHP version: 5.12
- PHP Telegram Bot version: Latest
- Using MySQL database: yes
- MySQL version:
- Update Method: Webhook
- Self-signed certificate: yes
- RAW update (if available):
Expected behaviour
Actual behaviour
Steps to reproduce
Extra details
I want to restrict my BOT to certain groups only. I can do that by checking the chat id against the group id. But the problem is I have too many commands and I don't want to add access code to each of the PHP scripts.
I want to implement the code on a single page, like the hook. But how can I do that in the hook or in any other single page?
Metadata
Metadata
Assignees
Labels
No labels