I am using pyrogram, I need to retrieve responses from a message, knowing that it has been replied to
I tried MessageReplies
and messages.GetReplies
but nothing worked
@user1.on_message(filters.group)
async def replies(client, message):
try:
if "?" in message.text:
async for find in user1.search_messages(message.chat.id, query=message.text, limit=2):
print(find)
GetReplies()