How to check if user is allowed to write in a chat by using pyrogram?
When sending messages in groups with pyrogram sometimes errors like 420 SLOWMODE_WAIT_X or even 400 USER_BANNED_IN_CHANNEL occur.
Is there a way to check if the target allows sending a message from the client before using send_message()?
How to check if user is allowed to write in a chat by using pyrogram?
When sending messages in groups with pyrogram sometimes errors like 420 SLOWMODE_WAIT_X or even 400 USER_BANNED_IN_CHANNEL occur.
Is there a way to check if the target allows sending a message from the client before using send_message()?