ebeneditos / telegram.bot

Develop a Telegram Bot with R
https://ebeneditos.github.io/telegram.bot/
GNU General Public License v3.0
108 stars 24 forks source link

[Question] Removing/Banning Users #17

Closed alexwcrafter closed 3 years ago

alexwcrafter commented 3 years ago

I have looked thru rdrr.io's Docs and couldn't really find a way how to remove or in other words ban people. Is there a way to do that in this package?

ebeneditos commented 3 years ago

There is not an option to do that with the package, but you could do a workaround by storing the Telegram IDs you'd like to ban and make a function when receiving a message from any of those.