mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-02 05:24:51 +00:00
commit
fea4a9a34b
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
|||
from typing import Union
|
||||
|
||||
import pyrogram
|
||||
from pyrogram import raw
|
||||
from pyrogram import raw, types
|
||||
|
||||
|
||||
class SendInlineBotResult:
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class ExportStoryLink:
|
|||
|
||||
peer = await self.resolve_peer(from_id)
|
||||
|
||||
rpc = raw.functions.stories.ExportStoryLink(peer=peer, story_id=story_id)
|
||||
rpc = raw.functions.stories.ExportStoryLink(peer=peer, id=story_id)
|
||||
|
||||
r = await self.invoke(rpc, sleep_threshold=-1)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue