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

Telegram Bot that says "Hi"

I'm trying to make a very simple Telegram Bot in Python that says "Hi" every minute. This is the code so far, but it does not post anything to my telegram. import requests import time bot_token = "insert_token_here" group_chat_id =…

VIEW QUESTION
Back To Top
Search