Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If this is a bot, and not a user, then no way. The Bot API does not have this functionality. You can only track the additions / deletions of the bot from the very beginning of its existence.
For a userbot, there is an example right in the documentation: https://docs.pyrogram.org/start/examples/get_dialogs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question