AgoraChatSDK 1.2.0
AgoraChatMessageBody.h
1
9#import <Foundation/Foundation.h>
10#import <CoreGraphics/CGGeometry.h>
11
16typedef NS_ENUM(NSInteger, AgoraChatMessageBodyType) {
17 AgoraChatMessageBodyTypeText = 1,
18 AgoraChatMessageBodyTypeImage,
19 AgoraChatMessageBodyTypeVideo,
20 AgoraChatMessageBodyTypeLocation,
21 AgoraChatMessageBodyTypeVoice,
22 AgoraChatMessageBodyTypeFile,
23 AgoraChatMessageBodyTypeCmd,
24 AgoraChatMessageBodyTypeCustom,
25 AgoraChatMessageBodyTypeCombine,
26};
27
32@interface AgoraChatMessageBody : NSObject
33
38@property (nonatomic, readonly) AgoraChatMessageBodyType type;
43@property (nonatomic, assign,readonly) NSUInteger operationTime;
48@property (nonatomic,nullable,readonly) NSString *operatorId;
53@property (nonatomic, assign,readonly) NSUInteger operatorCount;
54
55@end
Definition: AgoraChatMessageBody.h:33
NSUInteger operationTime
Definition: AgoraChatMessageBody.h:43
NSString * operatorId
Definition: AgoraChatMessageBody.h:48
AgoraChatMessageBodyType type
Definition: AgoraChatMessageBody.h:38
NSUInteger operatorCount
Definition: AgoraChatMessageBody.h:53