A
A
AYKostarev2020-06-25 16:16:47
Python
AYKostarev, 2020-06-25 16:16:47

telebot. Why is the 'user not found' error thrown when using the getChatMember method?

You need to check if the user is in a group. I use the getChatMember method for this . The error 'Bad Request: user not found' is constantly produced. Id of the user checked for correctness in different ways (id - numbers). The checked user is a member of the group. Not sure what the error might be and how to fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
robprane, 2020-06-25
@robprane

Alternatively, you may be sending a String to user_id.

A
Allah Akbarovich, 2020-06-27
@abegelme

Unfortunately, recently all bots have had this result when checking accounts whose owner "hid data".
5ef75fba9e70e230339915.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question