leaveChat: Leave a chat

View source: R/bot.R

leaveChatR 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.


telegram.bot documentation built on Sept. 7, 2022, 5:07 p.m.