đ§ leave_chat
Use this method for your bot to leave a group, supergroup or channel. Returns True on success.
âī¸ Parameters
chat_id
(int
orstr
): Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)
đ˛ Returns
bool
đ Examples
-đĒĢ Required Parameters
await bot.leave_chat(
chat_id=your_chat_id_here
)