CreateChatThreadRequest

public struct CreateChatThreadRequest : Codable

Request payload for creating a chat thread.

Properties

  • The thread topic.

    Declaration

    Swift

    public let topic: String
  • Participants to be added to the thread.

    Declaration

    Swift

    public let participants: [ChatParticipant]?

Initializers

  • Initialize a CreateChatThreadRequest structure.

    Declaration

    Swift

    public init(
        topic: String,
        participants: [ChatParticipant]? = nil
    )

    Parameters

    topic

    The thread topic.

    participants

    Participants to be added to the chat thread.