Remove TODO

This commit is contained in:
Alex Root Junior 2022-04-19 21:19:35 +03:00
parent c8ad7552a2
commit f03a738af8
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
2 changed files with 1 additions and 2 deletions

View file

@ -1655,7 +1655,6 @@ class Bot(ContextInstanceMixin["Bot"]):
:param request_timeout: Request timeout
:return: Returns True on success.
"""
# TODO: deprecate voice
call = PromoteChatMember(
chat_id=chat_id,
user_id=user_id,

View file

@ -31,7 +31,7 @@ class PromoteChatMember(TelegramMethod[bool]):
"""Pass :code:`True`, if the administrator can edit messages of other users and can pin messages, channels only"""
can_delete_messages: Optional[bool] = None
"""Pass :code:`True`, if the administrator can delete messages of other users"""
can_manage_video_chats: Optional[bool] = None # TODO: deprecate voice
can_manage_video_chats: Optional[bool] = None
"""Pass :code:`True`, if the administrator can manage video chats"""
can_restrict_members: Optional[bool] = None
"""Pass :code:`True`, if the administrator can restrict, ban or unban chat members"""