SKTConversationActivity Class Reference

Inherits from NSObject
Declared in SKTConversationActivity.h

Overview

This key is used in the SKTConversationActivity data object.

  role

the role of who is performing the typing activity

@property (readonly, nullable) NSString *role

Declared In

SKTConversationActivity.h

  type

the type of activity that is being triggered. Could be either - SKTConversationActivityTypeTypingStart - SKTConversationActivityTypeTypingStop - SKTConversationActivityTypeConversationRead - SKTConversationActivityTypeConversationAdded - SKTConversationActivityTypeConversationRemoved - SKTConversationActivityTypeParticipantAdded - SKTConversationActivityTypeParticipantRemoved

@property (readonly) NSString *type

Declared In

SKTConversationActivity.h

  data

additional data for this activity. Posible values are the business’s ‘name’ and/or ‘avatarUrl’

@property (readonly, nullable) NSDictionary *data

Declared In

SKTConversationActivity.h

  conversationId

conversationId for activity. Can be nil

@property (readonly, nullable) NSString *conversationId

Declared In

SKTConversationActivity.h

  businessLastRead

date when the business last read user messages for activities of type SKTConversationActivityTypeConversationRead

@property (readonly, nullable) NSDate *businessLastRead

Declared In

SKTConversationActivity.h

  userId

The userId if available, null otherwise

available for SKTConversationActivityTypeParticipantAdded, SKTConversationActivityTypeParticipantRemoved

@property (readonly, nullable) NSString *userId

Declared In

SKTConversationActivity.h