If the bot is added to a group it shouldn't be able to interact to commands and messages but it should be able to send messages.
(Users cannot use bot commands etc.)
The button which lists the commands should not appear.
Users can run bot commands and interact with it, they will see the commands list button
Create a bot, add it to a group, use it.
Is there any way to blind it when in a group?
You mean something like this? #527
Not really, I just want it to be restricted in groups
@noplanman
I could exit if the ID is set and is negative
Yes, that would be an option 馃憤
That will block access completely, even to admins and system commands, just so you know!
There is an open ticket to implement this in the Manager here:
https://github.com/php-telegram-bot/telegram-bot-manager/issues/33
Thanks this solved my problem
A better option might be to make use of the message->chat->type data:
$POST_DATA['message']['chat']['type'];
Which can be private, group, supergroup and channel. So you can limit more finely if required.
Awesome! I guess I'm going to use the type

Or, you could just disable group support for bot via BotFather...
The problem is that I need it in a group but users shouldn't use it so I'll
stick with the type check :)
Most helpful comment
Or, you could just disable group support for bot via BotFather...