Is it possible to prevent my bot from being invited into groups and for it to only be available for private chat? I intend to create a bot that will give user-specific information and this would be confusing within a group.
A bot running in privacy mode will not receive all messages that people send to the group. Instead, it will only receive: Messages that start with a slash '/' Replies to the bot's own messages. Service messages (such as member join and left notifications)
Open the Group or Channel on Telegram and tap on the Info page. Tap on the edit button on the top right corner. Go to Group / Channel Type. Tap on Restrict Saving Content option.
Telegram Bots can't initiate a conversation with a user. Only an user can initiate it by clicking on the start button.
Sure, you can use /setjoingroups
command in @BotFather.
BTW, there has leaveChat, you can leave yourself if your bot joined group before set this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With