MTPyroger/pyrogram
ColinShark c5b7a365af
Add message.link attribute/property (#442)
* 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 <14043624+delivrance@users.noreply.github.com>
2020-07-27 15:30:49 +02:00
..
api Update Copyright 2020-03-21 15:43:32 +01:00
client Add message.link attribute/property (#442) 2020-07-27 15:30:49 +02:00
connection Workaround the occasional delayed stop of a Client instance 2020-03-30 16:59:22 +02:00
crypto Update Copyright 2020-03-21 15:43:32 +01:00
errors Update Copyright 2020-03-21 15:43:32 +01:00
session Some fixes and speed improvments (#439) 2020-07-12 06:43:30 +02:00
__init__.py Update Pyrogram to v0.17.1 2020-05-02 21:17:22 +02:00