mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 01:15:31 +00:00
destroy_temp_session is awaitable
This commit is contained in:
parent
f047bb6db3
commit
9e97cd6727
2 changed files with 4 additions and 4 deletions
|
|
@ -48,7 +48,7 @@ async def cmd_start(message: types.Message):
|
|||
await bot.send_message(message.chat.id, emojize(text(*content, sep='\n')), parse_mode=ParseMode.MARKDOWN)
|
||||
|
||||
# Destroy temp session
|
||||
bot.destroy_temp_session(session)
|
||||
await bot.destroy_temp_session(session)
|
||||
|
||||
# In this example you can see emoji codes: ":globe_showing_Americas:" and ":locked_with_key:"
|
||||
# You can find full emoji cheat sheet at https://www.webpagefx.com/tools/emoji-cheat-sheet/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue