Bold360 and BoldChat Developer Center

BCMessage.h

1 //
2 // Copyright (c) 2014 LogMeIn Inc. All rights reserved.
3 //
4 
5 #import <Foundation/Foundation.h>
6 
7 @class BCPerson;
8 
13 @interface BCMessage : NSObject
14 
19 @property(nonatomic, copy, readonly) NSString *ID;
20 
25 @property(nonatomic, strong) BCPerson *sender;
26 
31 @property(nonatomic, copy, readonly) NSDate *created;
32 
37 @property(nonatomic, copy, readonly) NSDate *updated;
38 
43 @property(nonatomic, copy, readonly) NSString *htmlText;
44 
55 + (id)messageWithID:(NSString *)ID sender:(BCPerson *)sender created:(NSDate *)created updated:(NSDate *)updated htmlText:(NSString *)htmlText;
56 
67 - (id)initWithID:(NSString *)ID sender:(BCPerson *)sender created:(NSDate *)created updated:(NSDate *)updated htmlText:(NSString *)htmlText;
68 
69 @end
An entity participating in the chat. It can be either a visitor, an operator or the system...
Definition: BCPerson.h:24
NSString * htmlText
The message text formatted in html.
Definition: BCMessage.h:43
BCPerson * sender
The details of the sender of the message.
Definition: BCMessage.h:25
NSDate * created
The creation time of the message.
Definition: BCMessage.h:31
NSString * ID
The unique ID of the message.
Definition: BCMessage.h:19
The container class for all information about a specific chat message.
Definition: BCMessage.h:13
NSDate * updated
The last update time of the message.
Definition: BCMessage.h:37