AgoraChatSDK 1.3.1
Instance Methods | Properties | List of all members
AgoraChatCmdMessageBody Class Reference

#import <AgoraChatCmdMessageBody.h>

Inheritance diagram for AgoraChatCmdMessageBody:
AgoraChatMessageBody

Instance Methods

(instancetype _Nonnull) - initWithAction:
 
((unavailable("call initWithAction: instead") - __attribute__
 

Properties

NSString * action
 
BOOL isDeliverOnlineOnly
 
- Properties inherited from AgoraChatMessageBody
AgoraChatMessageBodyType type
 
NSUInteger operationTime
 
NSString * operatorId
 
NSUInteger operatorCount
 

Detailed Description

@header AgoraChatCmdMessageBody.h @abstract The command message body object.

Author
Hyphenate
Version
3.00 The command message body.

Method Documentation

◆ 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
aActionThe self-defined command string content.
Returns
The instance of command message body.

Property Documentation

◆ action

- (NSString*) action
readwritenonatomiccopy

The command content.

◆ 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: