SetChatDescriptionRequest

data class SetChatDescriptionRequest(chat_id: String, description: String?) : TelegramRequest

Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns True on success.

Constructors

SetChatDescriptionRequest
Link copied to clipboard
fun SetChatDescriptionRequest(chat_id: String, description: String? = null)

Properties

chat_id
Link copied to clipboard
val chat_id: String
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
description
Link copied to clipboard
val description: String? = null
New chat description, 0-255 characters