CreateSupergroupChat

public struct CreateSupergroupChat : Codable, Equatable, TDFunction

Returns an existing chat corresponding to a known supergroup or channel

  • Undocumented

    Declaration

    Swift

    public typealias Result = Chat
  • Supergroup or channel identifier

    Declaration

    Swift

    public let supergroupId: Int32
  • If true, the chat will be created without network request. In this case all information about the chat except its type, title and photo can be incorrect

    Declaration

    Swift

    public let force: Bool
  • Returns an existing chat corresponding to a known supergroup or channel

    Declaration

    Swift

    public init(supergroupId: Int32, force: Bool)

    Parameters

    supergroupId

    Supergroup or channel identifier

    force

    If true, the chat will be created without network request. In this case all information about the chat except its type, title and photo can be incorrect