mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Fix file uploads and references to full_name
This commit is contained in:
@@ -402,7 +402,7 @@ In Telethon:
|
||||
|
||||
@client.on(events.NewMessage, Command("/start"))
|
||||
async def command_start_handler(message: Message) -> None:
|
||||
await message.respond(html=f"Hello, <b>{html.escape(message.sender.full_name)}</b>!")
|
||||
await message.respond(html=f"Hello, <b>{html.escape(message.sender.name)}</b>!")
|
||||
|
||||
@dp.message()
|
||||
async def echo_handler(message: types.Message) -> None:
|
||||
|
Reference in New Issue
Block a user