SetChatTitleRequest

fun SetChatTitleRequest(chatId: Int, title: String)

Parameters

chatId

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

title

New chat title, 1-255 characters