aiogram/CHANGES/1049.feature.rst
sheldy b8cd06fd6f
add method for get user mention (#1049)
* add new method

* Create 1049.feature.rst

* update test_user

* after black and isort using

* after black and isort using

* adding new tests

* fix test

* update tests

* update test

* using create_tg_link function instead of new func

* Update user.py

* Update aiogram/types/user.py

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2022-11-02 22:40:19 +02:00

4 lines
106 B
ReStructuredText

Added following methods to ``User`` class:
- ``User.mention_markdown(...)``
- ``User.mention_html(...)``