mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 06:14:51 +00:00
Pin/unpin_chat_message don't raise a ValueError anymore
This commit is contained in:
parent
c3f4fab58b
commit
1eee4b77e1
2 changed files with 0 additions and 2 deletions
|
|
@ -47,7 +47,6 @@ class PinChatMessage(BaseClient):
|
|||
|
||||
Raises:
|
||||
:class:`Error <pyrogram.Error>` in case of a Telegram RPC error.
|
||||
``ValueError`` if a chat_id doesn't belong to a supergroup or a channel.
|
||||
"""
|
||||
self.send(
|
||||
functions.messages.UpdatePinnedMessage(
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ class UnpinChatMessage(BaseClient):
|
|||
|
||||
Raises:
|
||||
:class:`Error <pyrogram.Error>` in case of a Telegram RPC error.
|
||||
``ValueError`` if a chat_id doesn't belong to a supergroup or a channel.
|
||||
"""
|
||||
self.send(
|
||||
functions.messages.UpdatePinnedMessage(
|
||||
|
|
|
|||
Loading…
Reference in a new issue