Skip to content

set title

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

libtd-ktx / kotlinx.telegram.extensions / ChatKtx / setTitle

setTitle

open suspend fun Chat.setTitle(title: String?): Unit

Suspend function, which changes the chat title. Supported only for basic groups, supergroups and channels. Requires canChangeInfo rights. The title will not be changed until the request to the server has been completed.

Parameters

title - New title of the chat; 1-128 characters.

Clone this wiki locally