Skip to content

[pull] develop from pyrogram:develop#33

Open
pull[bot] wants to merge 55 commits intofakegit:developfrom
pyrogram:develop
Open

[pull] develop from pyrogram:develop#33
pull[bot] wants to merge 55 commits intofakegit:developfrom
pyrogram:develop

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented May 28, 2020

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

@pull pull bot added ⤵️ pull merge-conflict Resolve conflicts manually labels May 28, 2020
delivrance and others added 27 commits June 2, 2020 13:05
Show exactly what is being sent and received
Telegram now allows uploads up to 2000 MiB in size (4000 parts)
There are two distinct ChatFull types using the same
name (but different namespaces), their objects are kept
in chat_full and full_chat.
* Use raw string for re pattern

* Trim trailing whitespaces from docstrings and code

* Use isinstance() instead of type() for typechecking

* Remove unused imports
Reloading from disk causes modules to be re-evaluated, and this is
often not desirable. This will break the ability to hot reload plugins
* Add parse_mode property to Client

This breaks set_parse_mode

* Add back set_parse_mode for backwards compatibility
delivrance and others added 27 commits July 26, 2020 12:28
* ability to change file_name in editmessagemedia method

* ability to change file_name in editmessagemedia method

* ability to change file_name in editmessagemedia method

* Update edit_message_media.py

* Update input_media_document.py

Co-authored-by: GadzhievSA <[email protected]>
Co-authored-by: Dan <[email protected]>
* Add message.link attribute

Adds the functionality to access the message link.
Either as `t.me/c/` or `t.me/username` format.

* Change message.link logic

Property now has a returned type, list is a tuple and
we use `utils.get_channel_id` to not rely on str.replace

* Update message.py

- Prepend https:// like official clients do
- Use .format()

Co-authored-by: Dan <[email protected]>
Useful filter to use as default value when extending Handler class
* Add support for compiled patterns in Filters.regex and remove extra whitespaces

* Update filters.py

Co-authored-by: Dan <[email protected]>
…distribution (#467)

Fix some syntax errors that are causing errors on python pip package distribution
reply_* bound methods weren't added to handle BinaryIO object, now they are.
Loading plugins shouldn't be considered a warning
* fix for new format

This fixes the `AttributeError: 'PeerUser' object has no attribute 'channel_id'`.
Maybe we should also have a method to show nearby users?

* Update get_nearby_chats.py

Use isinstance instead of type

Co-authored-by: Dan <[email protected]>
* Add mark_chat_unread() method

* Add bound method for mark_chat_unread

* Update mark_chat_unread.py

* Update chat.py

Apply Dans suggested changes

* Update mark_chat_unread.py

* Update chat.py

* Update compiler.py

Co-authored-by: Dan <[email protected]>
@delivrance delivrance deleted the branch fakegit:develop December 28, 2020 14:25
@delivrance delivrance deleted the develop branch December 28, 2020 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.