Frate Gon
Frate Gon

Reputation: 11

How to create a telegram bot that checks user joined

I am trying to create a bot that checks if a user has joined a channel and if it is true then reply an automatic message.

Any ideas? Thanks in advance.

Upvotes: 0

Views: 726

Answers (1)

Sean Wei
Sean Wei

Reputation: 8015

You can use getChatMember method with administer permission.

P.S. remember to put both chat_id and user_id into the request.

Upvotes: 1

Related Questions