8000 release v3.0 by usernein · Pull Request #33 · usernein/pyromod · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

release v3.0 #33

New issue

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

Merged
merged 35 commits into from
Oct 29, 2023
Merged

release v3.0 #33

merged 35 commits into from
Oct 29, 2023

Conversation

usernein
Copy link
Owner

Inheritance and Simplified Initialization: Classes like Client, Message, Chat, and User now inherit from their Pyrogram counterparts. Import Client from pyromod directly for easier initialization.

Decorator Renaming: Decorators "patch" and "patchable" are now "patch_into" and "should_patch" for clarity.

Keyword Arguments: Tuple identifiers are removed, enabling direct data specification as keyword arguments in listen and ask methods.

Support for inline_message_id: The listen and ask methods now support the "inline_message_id" parameter.

Improved Error Handling: Pyromod checks if CallbackQuery.chat exists before accessing its ID.

Argument Order Change: Client.ask now follows the same argument order as Client.send_message.

Simplified Internal Logic: Listeners and their state have been refactored for easier maintenance.

Type Hints: Added type hints for better code completion and type checking in IDEs.

Reorganized Structure: Project structure is now more organized for easier maintenance.

usernein and others added 30 commits October 18, 2023 21:06
…any_listeners -> get_many_matching_listeners
* supports pyrogram v1

* Update listen.py

forgot, delete comma

---------

Co-authored-by: Cezar H <pauxiscezar@gmail.com>
I think using the sent_message statement instead of request is much more descriptive
Co-authored-by: Cezar H <pauxiscezar@gmail.com>
* Update listen.py

* Update listen.py

* Update utils.py

* Changes to be committed:
	modified:   pyromod/listen/listen.py
	modified:   pyromod/utils/utils.py

* Changes to be committed:
	modified:   pyromod/utils/utils.py

* Changes to be committed:
	modified:   pyromod/utils/utils.py

* Changes to be committed:
	modified:   pyromod/utils/utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Update utils.py

* Changes to be committed:
	modified:   pyromod/listen/listen.py

* Update pyproject.toml

* Update poetry.lock

* Update poetry.lock

* Update pyproject.toml

* Update listen.py

* Update listen.py

---------

Co-authored-by: Cezar H <pauxiscezar@gmail.com>
@usernein usernein temporarily deployed to github-pages October 29, 2023 03:05 — with GitHub Pages Inactive
@usernein usernein merged commit 9dbb50e into master Oct 29, 2023
@usernein usernein deleted the release-3-0 branch October 30, 2023 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0