SetChatDescription

public struct SetChatDescription : Codable, Equatable, TDFunction

Changes information about a chat. Available for basic groups, supergroups, and channels. Requires can_change_info rights

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Identifier of the chat

    Declaration

    Swift

    public let chatId: Int53
  • New chat description; 0-255 characters

    Declaration

    Swift

    public let description: String
  • Changes information about a chat. Available for basic groups, supergroups, and channels. Requires can_change_info rights

    Declaration

    Swift

    public init(chatId: Int53, description: String)

    Parameters

    chatId

    Identifier of the chat

    description

    New chat description; 0-255 characters