Use this method to get information about a member of a chat. Returns a ChatMember object on success.
||Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)|
||Unique identifier of the target user|
Description: Returns a ChatMember object on success.
As bot method¶
result: ChatMember = await bot.get_chat_member(...)
Method as object¶
from aiogram.methods import GetChatMember
from aiogram.api.methods import GetChatMember
from aiogram.api.methods.get_chat_member import GetChatMember
In handlers with current bot¶
result: ChatMember = await GetChatMember(...)
With specific bot¶
result: ChatMember = await bot(GetChatMember(...))