SetChatDescriptionRequest

data class SetChatDescriptionRequest(chatId: Int, description: String?)

Request body for setChatDescription

Parameters

chatId

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

description

New chat description, 0-255 characters

Constructors

SetChatDescriptionRequest
Link copied to clipboard
common
fun SetChatDescriptionRequest(chatId: Int, description: String? = null)
Unique identifier for the target chat or username of the target channel (in the format @channelusername)

Functions

component1
Link copied to clipboard
common
operator fun component1(): Int
component2
Link copied to clipboard
common
operator fun component2(): String?
copy
Link copied to clipboard
common
fun copy(chatId: Int, description: String? = null): SetChatDescriptionRequest
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

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