mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Merge branch 'develop' into asyncio
This commit is contained in:
commit
f4736c17a6
2 changed files with 0 additions and 2 deletions
|
|
@ -47,7 +47,6 @@ class PinChatMessage(BaseClient):
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
:class:`Error <pyrogram.Error>` in case of a Telegram RPC error.
|
: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.
|
|
||||||
"""
|
"""
|
||||||
await self.send(
|
await self.send(
|
||||||
functions.messages.UpdatePinnedMessage(
|
functions.messages.UpdatePinnedMessage(
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ class UnpinChatMessage(BaseClient):
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
:class:`Error <pyrogram.Error>` in case of a Telegram RPC error.
|
: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.
|
|
||||||
"""
|
"""
|
||||||
await self.send(
|
await self.send(
|
||||||
functions.messages.UpdatePinnedMessage(
|
functions.messages.UpdatePinnedMessage(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue