Add missing await keywords
This commit is contained in:
parent
1fbe88d4b2
commit
f06562b73d
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user