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

    chatId

    Chat identifier

    title

    New title of the chat; 1-128 characters