LeaveChatRequest

data class LeaveChatRequest(chat_id: String) : TelegramRequest

Use this method for your bot to leave a group, supergroup or channel. Returns True on success.

Constructors

LeaveChatRequest
Link copied to clipboard
fun LeaveChatRequest(chat_id: String)

Properties

chat_id
Link copied to clipboard
val chat_id: String
Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)