skip to Main Content

How to solve this error its a telegram bot using pyrogram library

pyrogram.dispatcher - dispatcher - ERROR - 'Message' object has no attribute 'message_id' Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/pyrogram/dispatcher.py", line 240, in handler_worker await handler.callback(self.client, *args) File "/app/plugins/pm_filter.py", line 53, in give_filter await client.delete_messages(message.chat.id, st_msg.message_id) AttributeError: 'Message' object has no…

VIEW QUESTION

What is access_hash in telegram API?

When you contacts.resolveUsername, the result always contains both id and access_hash. It creates confusion for API users, as to why you are only able to resolve a user/chat/channel only by their username or by their (id, access_hash) pair (eg. here…

VIEW QUESTION
Back To Top
Search