mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-30 12:24:52 +00:00
Fix small typo: Message.unpin was pinning
This commit is contained in:
parent
3c992e8f86
commit
4b3fc729ad
1 changed files with 1 additions and 1 deletions
|
|
@ -3295,7 +3295,7 @@ class Message(Object, Update):
|
|||
Raises:
|
||||
RPCError: In case of a Telegram RPC error.
|
||||
"""
|
||||
return await self._client.pin_chat_message(
|
||||
return await self._client.unpin_chat_message(
|
||||
chat_id=self.chat.id,
|
||||
message_id=self.message_id
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue