Skip to content

Commit 25f2151

Browse files
committed
Fix Restriction class not being exported
1 parent cfd756b commit 25f2151

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyrogram/client/types/user_and_chats/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
from .chat_photo import ChatPhoto
2323
from .chat_preview import ChatPreview
2424
from .dialog import Dialog
25+
from .restriction import Restriction
2526
from .user import User
2627

2728
__all__ = [
28-
"Chat", "ChatMember", "ChatPermissions", "ChatPhoto", "ChatPreview", "Dialog", "User"
29+
"Chat", "ChatMember", "ChatPermissions", "ChatPhoto", "ChatPreview", "Dialog", "User", "Restriction"
2930
]

0 commit comments

Comments
 (0)