How to disable forwarding message of Telegram Bot in private chat?
Some individuals are receiving messages from the bot and subsequently distributing them to others.
I want to prevent this activity
I am using javascript with TelegramBot library.
Can anyone help me?
2
Answers
You must set protect_content to true. Then the ability of users to save, copy and share messages with others will be disabled.
https://core.telegram.org/bots/api#sendmessage
Setting protect_content to true can prevent messages from being forwarded and saved. However, if the owner creates a discuss group which link to this channel, the message will also be able to forward to the discuss group, the then messages can be forwarded from discuss group. How to prevent this happens? Thanks