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?
You can use .message.from.id to identify users.
.message.from.id
And getChatMember method:
getChatMember