mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-23 23:34:28 +00:00
Fix Story.copy method
This commit is contained in:
parent
afc4908249
commit
7fa1c0ccf4
@ -1368,7 +1368,7 @@ class Story(Object, Update):
|
|||||||
caption = self.caption or ""
|
caption = self.caption or ""
|
||||||
caption_entities = self.caption_entities
|
caption_entities = self.caption_entities
|
||||||
|
|
||||||
return await self._client.post_story(
|
return await self._client.send_story(
|
||||||
chat_id=chat_id,
|
chat_id=chat_id,
|
||||||
media=file_id,
|
media=file_id,
|
||||||
caption=caption,
|
caption=caption,
|
||||||
@ -1378,7 +1378,7 @@ class Story(Object, Update):
|
|||||||
caption_entities=caption_entities,
|
caption_entities=caption_entities,
|
||||||
privacy=privacy,
|
privacy=privacy,
|
||||||
allowed_users=allowed_users,
|
allowed_users=allowed_users,
|
||||||
disallowed_chats=disallowed_users
|
disallowed_users=disallowed_users
|
||||||
)
|
)
|
||||||
|
|
||||||
async def delete(self):
|
async def delete(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user