leaveChat {telegram.bot} | R Documentation |
Leave a chat
Description
Use this method for your bot to leave a group, supergroup or channel.
Usage
leaveChat(chat_id)
Arguments
chat_id |
Unique identifier for the target chat or username of the target channel. |
Details
You can also use it's snake_case equivalent leave_chat
.
[Package telegram.bot version 3.0.0 Index]