kickChatMember#

Returns: bool

Usage#

As bot method#

result: bool = await bot.kick_chat_member(...)

Method as object#

Imports:

  • from aiogram.methods.kick_chat_member import KickChatMember

  • alias: from aiogram.methods import KickChatMember

With specific bot#

result: bool = await bot(KickChatMember(...))

As reply into Webhook in handler#

return KickChatMember(...)