AddChatParticipantsResult

public struct AddChatParticipantsResult : Codable

Result of the add chat participants operation.

Properties

  • The participants that failed to be added to the chat thread.

    Declaration

    Swift

    public let invalidParticipants: [ChatError]?

Initializers

  • Initialize a AddChatParticipantsResult structure.

    Declaration

    Swift

    public init(
        invalidParticipants: [ChatError]? = nil
    )

    Parameters

    invalidParticipants

    The participants that failed to be added to the chat thread.

Codable

  • Initialize a AddChatParticipantsResult structure from decoder

    Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Encode a AddChatParticipantsResult structure

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws