@@ -1705,7 +1705,8 @@ async def copy(
17051705 privacy : Optional ["enums.StoriesPrivacyRules" ] = None ,
17061706 allowed_users : Optional [List [int ]] = None ,
17071707 disallowed_users : Optional [List [int ]] = None ,
1708- protect_content : Optional [bool ] = None
1708+ protect_content : Optional [bool ] = None ,
1709+ pinned : Optional [bool ] = None
17091710 ) -> "types.Story" :
17101711 """Bound method *copy* of :obj:`~pyrogram.types.Story`.
17111712
@@ -1766,6 +1767,9 @@ async def copy(
17661767 protect_content (``bool``, *optional*):
17671768 Protects the contents of the sent story from forwarding and saving.
17681769
1770+ pinned (``bool``, *optional*):
1771+ If True, the story will be pinned.
1772+
17691773 Returns:
17701774 :obj:`~pyrogram.types.Story`: On success, the copied story is returned.
17711775
@@ -1790,7 +1794,8 @@ async def copy(
17901794 caption_entities = caption_entities ,
17911795 privacy = privacy ,
17921796 allowed_users = allowed_users ,
1793- disallowed_users = disallowed_users
1797+ disallowed_users = disallowed_users ,
1798+ pinned = pinned
17941799 )
17951800
17961801 async def delete (self ):
0 commit comments