1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Updated examples

This commit is contained in:
coder2020official 2022-05-21 17:45:59 +05:00
parent 5e3fd17436
commit 388306b7fe
2 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,8 @@ async def start_message(message):
formatting.hunderline(message.from_user.first_name), formatting.hunderline(message.from_user.first_name),
formatting.hstrikethrough(message.from_user.first_name), formatting.hstrikethrough(message.from_user.first_name),
formatting.hcode(message.from_user.first_name), formatting.hcode(message.from_user.first_name),
# hide_link is only for html
formatting.hide_link('https://telegra.ph/file/c158e3a6e2a26a160b253.jpg'),
separator=" " separator=" "
), ),
parse_mode='HTML' parse_mode='HTML'

View File

@ -36,6 +36,8 @@ def start_message(message):
formatting.hunderline(message.from_user.first_name), formatting.hunderline(message.from_user.first_name),
formatting.hstrikethrough(message.from_user.first_name), formatting.hstrikethrough(message.from_user.first_name),
formatting.hcode(message.from_user.first_name), formatting.hcode(message.from_user.first_name),
# hide_link is only for html
formatting.hide_link('https://telegra.ph/file/c158e3a6e2a26a160b253.jpg'),
separator=" " separator=" "
), ),
parse_mode='HTML' parse_mode='HTML'