mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Revert "Add renamed_argument decorator"
This reverts commit fecfa10928.
This commit is contained in:
parent
fecfa10928
commit
157a100e7b
1 changed files with 0 additions and 3 deletions
|
|
@ -4,7 +4,6 @@ import typing
|
|||
from . import base, fields
|
||||
from .user import User
|
||||
from ..utils import helper
|
||||
from ..utils.deprecated import renamed_argument
|
||||
|
||||
T = typing.TypeVar('T')
|
||||
|
||||
|
|
@ -109,7 +108,6 @@ class ChatMember(base.TelegramObject):
|
|||
return ChatMemberStatus.is_chat_member(self.status)
|
||||
|
||||
|
||||
@renamed_argument(old_name='can_manage_voice_chats', new_name='can_manage_video_chats', until_version='3.0')
|
||||
class ChatMemberOwner(ChatMember):
|
||||
"""
|
||||
Represents a chat member that owns the chat and has all
|
||||
|
|
@ -139,7 +137,6 @@ class ChatMemberOwner(ChatMember):
|
|||
can_pin_messages: base.Boolean = fields.ConstField(True)
|
||||
|
||||
|
||||
@renamed_argument(old_name='can_manage_voice_chats', new_name='can_manage_video_chats', until_version='3.0')
|
||||
class ChatMemberAdministrator(ChatMember):
|
||||
"""
|
||||
Represents a chat member that has some additional privileges.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue