Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

leaveChat

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

Develop a 'Telegram Bot' with R

v2.4.0
GPL-3
Authors
Ernest Benedito [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.