Add mark_chat_unread() method (#322) · DevAVR/pyrogram@04cf4e6 · GitHub
Skip to content

Commit 04cf4e6

Browse files
Add mark_chat_unread() method (pyrogram#322)
* Add mark_chat_unread() method * Add bound method for mark_chat_unread * Update mark_chat_unread.py * Update chat.py Apply Dans suggested changes * Update mark_chat_unread.py * Update chat.py * Update compiler.py Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
1 parent 23b1450 commit 04cf4e6

3 files changed

Lines changed: 50 additions & 1 deletion

File tree

compiler/docs/compiler.py

Lines changed: 2 additions & 0 deletions

pyrogram/client/methods/chats/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
from .unban_chat_member import UnbanChatMember
5151
from .unpin_chat_message import UnpinChatMessage
5252
from .update_chat_username import UpdateChatUsername
53+
from .mark_chat_unread import MarkChatUnread
5354

5455

5556
class Chats(
@@ -86,6 +87,7 @@ class Chats(
8687
DeleteSupergroup,
8788
GetNearbyChats,
8889
SetAdministratorTitle,
89-
SetSlowMode
90+
SetSlowMode,
91+
MarkChatUnread
9092
):
9193
pass
Lines changed: 45 additions & 0 deletions

0 commit comments

Comments
 (0)