SetChatTitle
public struct SetChatTitle : Codable, Equatable, TDFunction
Changes the chat title. Supported only for basic groups, supergroups and channels. Requires can_change_info rights. The title will not be changed until the request to the server has been completed
-
Undocumented
Declaration
Swift
public typealias Result = Ok -
Chat identifier
Declaration
Swift
public let chatId: Int53 -
New title of the chat; 1-128 characters
Declaration
Swift
public let title: String -
Changes the chat title. Supported only for basic groups, supergroups and channels. Requires can_change_info rights. The title will not be changed until the request to the server has been completed
Declaration
Swift
public init(chatId: Int53, title: String)Parameters
chatIdChat identifier
titleNew title of the chat; 1-128 characters
View on GitHub
Install in Dash
SetChatTitle Structure Reference