2

I'm using a Telegram bot for downloading images sent to it automatically. The images are shown in a presentation immediately after download, so I need to make sure that only group members should be allowed to send to the bot.

How can I do this?

Bigera
  • 25
  • 2

1 Answers1

1

You can use .message.from.id to identify users.

And getChatMember method: Awesome Telegram Bot

Sean Wei
  • 7,433
  • 1
  • 19
  • 39