Add missing await keywords

This commit is contained in:
Dan 2020-08-26 07:43:57 +02:00
parent 1fbe88d4b2
commit f06562b73d
3 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ class EditInlineMedia(Scaffold):
unpacked = utils.unpack_inline_message_id(inline_message_id)
dc_id = unpacked.dc_id
session = get_session(self, dc_id)
session = await get_session(self, dc_id)
return await session.send(
raw.functions.messages.EditInlineBotMessage(

View File

@ -56,7 +56,7 @@ class EditInlineReplyMarkup(Scaffold):
unpacked = utils.unpack_inline_message_id(inline_message_id)
dc_id = unpacked.dc_id
session = get_session(self, dc_id)
session = await get_session(self, dc_id)
return await session.send(
raw.functions.messages.EditInlineBotMessage(

View File

@ -76,7 +76,7 @@ class EditInlineText(Scaffold):
unpacked = utils.unpack_inline_message_id(inline_message_id)
dc_id = unpacked.dc_id
session = get_session(self, dc_id)
session = await get_session(self, dc_id)
return await session.send(
raw.functions.messages.EditInlineBotMessage(