SKTParticipant

Objective-C

@interface SKTParticipant : NSObject <NSSecureCoding>

Swift

class SKTParticipant : NSObject, NSSecureCoding

A class representing a conversation participant.

  • @abstract The unique identifier of the participant.

    Declaration

    Objective-C

    @property (readonly) NSString *_Nonnull participantId;

    Swift

    var participantId: String { get }
  • @abstract The assigned userId for this participant.

    Declaration

    Objective-C

    @property (readonly) NSString *_Nonnull userId;

    Swift

    var userId: String { get }
  • @abstract The assigned userExternalId for this participant.

    Declaration

    Objective-C

    @property (readonly) NSString *_Nullable userExternalId;

    Swift

    var userExternalId: String? { get }
  • @abstract The number of unread messages for this participant.

    Declaration

    Objective-C

    @property NSNumber *_Nonnull unreadCount;

    Swift

    var unreadCount: NSNumber { get set }
  • @abstract The date this participant last read the conversation.

    Declaration

    Objective-C

    @property NSDate *_Nonnull lastRead;

    Swift

    var lastRead: Date { get set }