Actually fix inline callback queries coming from different DCs
This commit is contained in:
parent
c0049ba43b
commit
50c6207099
@ -117,5 +117,6 @@ class EditInlineMedia(Scaffold):
|
||||
media=media,
|
||||
reply_markup=reply_markup.write() if reply_markup else None,
|
||||
**await self.parser.parse(caption, parse_mode)
|
||||
)
|
||||
),
|
||||
sleep_threshold=self.sleep_threshold
|
||||
)
|
||||
|
@ -62,5 +62,6 @@ class EditInlineReplyMarkup(Scaffold):
|
||||
raw.functions.messages.EditInlineBotMessage(
|
||||
id=unpacked,
|
||||
reply_markup=reply_markup.write() if reply_markup else None,
|
||||
)
|
||||
),
|
||||
sleep_threshold=self.sleep_threshold
|
||||
)
|
||||
|
@ -84,5 +84,6 @@ class EditInlineText(Scaffold):
|
||||
no_webpage=disable_web_page_preview or None,
|
||||
reply_markup=reply_markup.write() if reply_markup else None,
|
||||
**await self.parser.parse(text, parse_mode)
|
||||
)
|
||||
),
|
||||
sleep_threshold=self.sleep_threshold
|
||||
)
|
||||
|
@ -51,7 +51,7 @@ async def get_session(client: "pyrogram.Client", dc_id: int):
|
||||
await session.start()
|
||||
|
||||
for _ in range(3):
|
||||
exported_auth = await session.send(
|
||||
exported_auth = await client.send(
|
||||
raw.functions.auth.ExportAuthorization(
|
||||
dc_id=dest_dc_id
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user