VivochaConversation
@interface VivochaConversation : NSObject
The object represents a conversation. It contains information about the current contact, if available, and the previous contacts included in the same conversation.
-
@property (nonatomic, strong, readonly) NSString *_Nonnull conversationID;The conversation ID
-
@property (nonatomic, strong, readonly) VivochaContactInfo *_Nonnull currentContactInfo;The current contact in the conversation
-
@property (nonatomic, strong, readonly) NSArray<VivochaContactInfo *> *_Nonnull previousContactInfo;The previous contact info contained in the conversation
-
- (void)getTranscriptForContactId:(nonnull NSString *)contactId completion: (nonnull void (^)( VivochaContactTranscript *_Nonnull))completion;Retrieves the transcript for a given contact ID.
-
- (NSInteger)getVisitorUnreadMessagesForPersistenceWidget;The number of unread messages on the customer side when the conversation has been resumed. This value will not be updated. In order to get the updated number of unread messages use the VivochaContact method
getUnreadMessagesCount.