Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command parameter to enforce usage in private chats only. #580

Merged

Conversation

noplanman
Copy link
Member

This feature adds a new parameter to be set for commands, forcing it to be used only in private chats.
If a private_only command is used in any public group, a message is sent to the user's private chat to notify that it's not allowed.

@noplanman noplanman merged commit 8a9b0d6 into php-telegram-bot:develop Aug 5, 2017
@noplanman noplanman deleted the private_only_commands branch August 5, 2017 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants