#import <AgoraChatCmdMessageBody.h>
@header AgoraChatCmdMessageBody.h @abstract The command message body object.
- Author
- Hyphenate
- Version
- 3.00 The command message body.
◆ initWithAction:
- (instancetype _Nonnull) initWithAction: |
|
(NSString *_Nonnull) |
aAction |
|
The construct command message body. Developer self-defined command string that can be used for specifing custom action/command. See ext
in AgoraChatMessage
.
- Parameters
-
aAction | The self-defined command string content. |
- Returns
- The instance of command message body.
◆ action
◆ isDeliverOnlineOnly
- (BOOL) isDeliverOnlineOnly |
|
readwritenonatomicassign |
Whether this cmd msg is delivered to the online users only. The default value is NO. Set this parameter as YES and the msg is delivered to the online users only, so the offline users won't receive the msg when they log in later.
The documentation for this class was generated from the following file: