TCHMessage Class Reference
Inherits from | NSObject |
---|---|
Declared in | TCHMessage.h |
sid
The unique identifier for this message.
@property (nonatomic, copy, readonly) NSString *sid
Discussion
The unique identifier for this message.
Declared In
TCHMessage.h
index
Index of Message in the Channel’s messages stream.
@property (nonatomic, copy, readonly) NSNumber *index
Discussion
Index of Message in the Channel’s messages stream.
Declared In
TCHMessage.h
author
The identity of the author of the message.
@property (nonatomic, copy, readonly) NSString *author
Discussion
The identity of the author of the message.
Declared In
TCHMessage.h
body
The body of the message.
@property (nonatomic, copy, readonly) NSString *body
Discussion
The body of the message.
Declared In
TCHMessage.h
timestamp
The timestamp of the message.
@property (nonatomic, copy, readonly) NSString *timestamp
Discussion
The timestamp of the message.
Declared In
TCHMessage.h
lastUpdatedBy
The identity of the user who last updated the message.
@property (nonatomic, copy, readonly) NSString *lastUpdatedBy
Discussion
The identity of the user who last updated the message.
Declared In
TCHMessage.h
– attributes
Return this message’s attributes.
- (NSDictionary<NSString*,id> *)attributes
Return Value
The developer-defined extensible attributes for this message.
Discussion
Return this message’s attributes.
Declared In
TCHMessage.h
– setAttributes:completion:
Set this message’s attributes.
- (void)setAttributes:(NSDictionary<NSString*,id> *)attributes completion:(TCHCompletion)completion
Parameters
attributes |
The new developer-defined extensible attributes for this message. (Supported types are NSString, NSNumber, NSArray, NSDictionary and NSNull) |
---|---|
completion |
Completion block that will specify the result of the operation. |
Discussion
Set this message’s attributes.
Declared In
TCHMessage.h