TWMMessage Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TWMMessage.h |
sid
The unique identifier for this message.
@property (nonatomic, copy, readonly) NSString *sidDiscussion
The unique identifier for this message.
Declared In
TWMMessage.h
index
Index of Message in the Channel’s messages stream.
@property (nonatomic, copy, readonly) NSNumber *indexDiscussion
Index of Message in the Channel’s messages stream.
Declared In
TWMMessage.h
author
The identity of the author of the message.
@property (nonatomic, copy, readonly) NSString *authorDiscussion
The identity of the author of the message.
Declared In
TWMMessage.h
body
The body of the message.
@property (nonatomic, copy, readonly) NSString *bodyDiscussion
The body of the message.
Declared In
TWMMessage.h
timestamp
The timestamp of the message.
@property (nonatomic, copy, readonly) NSString *timestampDiscussion
The timestamp of the message.
Declared In
TWMMessage.h
lastUpdatedBy
Who the the message was last updated by.
@property (nonatomic, copy, readonly) NSString *lastUpdatedByDiscussion
Who the the message was last updated by.
Declared In
TWMMessage.h
– attributes
Return this message’s attributes.
- (NSDictionary<NSString*,id> *)attributesReturn Value
The developer-defined extensible attributes for this message.
Discussion
Return this message’s attributes.
Declared In
TWMMessage.h
– setAttributes:completion:
Set this message’s attributes.
- (void)setAttributes:(NSDictionary<NSString*,id> *)attributes completion:(TWMCompletion)completionParameters
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
TWMMessage.h