aboutsummaryrefslogtreecommitdiff
path: root/libs/user.py
diff options
context:
space:
mode:
authorTolmachev Igor <me@igorek.dev>2026-03-23 22:17:24 +0300
committerTolmachev Igor <me@igorek.dev>2026-03-23 22:17:24 +0300
commit0444ff325490f24e9a8d35f83ba37a0bd95ab6c5 (patch)
tree5eb8bef05078002edfc14d26386d5931efa805a0 /libs/user.py
parent0884a8230ecad2cedd31c66ea2b1f4c460fba3cb (diff)
downloadvpn_manager_bot-0444ff325490f24e9a8d35f83ba37a0bd95ab6c5.tar.gz
vpn_manager_bot-0444ff325490f24e9a8d35f83ba37a0bd95ab6c5.zip
Add pay_invoice button
Diffstat (limited to 'libs/user.py')
-rw-r--r--libs/user.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/user.py b/libs/user.py
new file mode 100644
index 0000000..b201ce9
--- /dev/null
+++ b/libs/user.py
@@ -0,0 +1,5 @@
1from aiogram.types import Chat, User
2
3
4def mention(user: User | Chat) -> str:
5 return f'<a href="tg://user?id={user.id}">{user.full_name}</a>'