We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This will require wrapping the original message class from Pyrogram into something that will behave almost the same but will support drafts.
Handling requires registering RawUpdateHandler like this:
RawUpdateHandler
userbot/userbot/__main__.py
Lines 72 to 75 in 2d862d1
userbot/userbot/commands/chat_admin.py
Lines 131 to 140 in 2d862d1
UpdateDraftMessage will be received when something is saved as a draft: https://docs.pyrogram.org/telegram/types/update-draft-message#pyrogram.raw.types.UpdateDraftMessage
UpdateDraftMessage
Implementing this may open new abilities like silent execution without having to edit sources, looped execution, etc.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This will require wrapping the original message class from Pyrogram into something that will behave almost the same but will support drafts.
Handling requires registering
RawUpdateHandler
like this:userbot/userbot/__main__.py
Lines 72 to 75 in 2d862d1
Usage:
userbot/userbot/commands/chat_admin.py
Lines 131 to 140 in 2d862d1
UpdateDraftMessage
will be received when something is saved as a draft:https://docs.pyrogram.org/telegram/types/update-draft-message#pyrogram.raw.types.UpdateDraftMessage
Implementing this may open new abilities like silent execution without having to edit sources, looped execution, etc.
The text was updated successfully, but these errors were encountered: