mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 16:15:51 +00:00
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>
This commit is contained in:
parent
45705faf12
commit
b8cd06fd6f
3 changed files with 52 additions and 1 deletions
4
CHANGES/1049.feature.rst
Normal file
4
CHANGES/1049.feature.rst
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
Added following methods to ``User`` class:
|
||||
|
||||
- ``User.mention_markdown(...)``
|
||||
- ``User.mention_html(...)``
|
||||
Loading…
Add table
Add a link
Reference in a new issue