mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix: wrong argument passed to get_member_count()
This commit is contained in:
parent
29d2ffc9ed
commit
ba251d21df
1 changed files with 1 additions and 1 deletions
|
|
@ -497,7 +497,7 @@ class Chat(base.TelegramObject):
|
|||
|
||||
async def get_members_count(self) -> base.Integer:
|
||||
"""Renamed to get_member_count."""
|
||||
return await self.get_member_count(self.id)
|
||||
return await self.get_member_count()
|
||||
|
||||
async def get_member(self, user_id: base.Integer) -> ChatMember:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue