mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-30 22:05:28 +00:00
Add missing await keywords
This commit is contained in:
@@ -109,7 +109,7 @@ class EditInlineMedia(Scaffold):
|
|||||||
unpacked = utils.unpack_inline_message_id(inline_message_id)
|
unpacked = utils.unpack_inline_message_id(inline_message_id)
|
||||||
dc_id = unpacked.dc_id
|
dc_id = unpacked.dc_id
|
||||||
|
|
||||||
session = get_session(self, dc_id)
|
session = await get_session(self, dc_id)
|
||||||
|
|
||||||
return await session.send(
|
return await session.send(
|
||||||
raw.functions.messages.EditInlineBotMessage(
|
raw.functions.messages.EditInlineBotMessage(
|
||||||
|
@@ -56,7 +56,7 @@ class EditInlineReplyMarkup(Scaffold):
|
|||||||
unpacked = utils.unpack_inline_message_id(inline_message_id)
|
unpacked = utils.unpack_inline_message_id(inline_message_id)
|
||||||
dc_id = unpacked.dc_id
|
dc_id = unpacked.dc_id
|
||||||
|
|
||||||
session = get_session(self, dc_id)
|
session = await get_session(self, dc_id)
|
||||||
|
|
||||||
return await session.send(
|
return await session.send(
|
||||||
raw.functions.messages.EditInlineBotMessage(
|
raw.functions.messages.EditInlineBotMessage(
|
||||||
|
@@ -76,7 +76,7 @@ class EditInlineText(Scaffold):
|
|||||||
unpacked = utils.unpack_inline_message_id(inline_message_id)
|
unpacked = utils.unpack_inline_message_id(inline_message_id)
|
||||||
dc_id = unpacked.dc_id
|
dc_id = unpacked.dc_id
|
||||||
|
|
||||||
session = get_session(self, dc_id)
|
session = await get_session(self, dc_id)
|
||||||
|
|
||||||
return await session.send(
|
return await session.send(
|
||||||
raw.functions.messages.EditInlineBotMessage(
|
raw.functions.messages.EditInlineBotMessage(
|
||||||
|
Reference in New Issue
Block a user