NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatUpdateMessageInfo.h
浏览该文件的文档.
1//
2// NIMQChatUpdateMessageInfo.h
3// NIMSDK
4//
5// Created by Netease.
6// Copyright © 2022 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
13/**
14 * 更新内容
15 */
16@interface NIMQChatUpdateMessageInfo : NSObject
17
18/**
19 * 消息状态
20 * @discussion 选填,仅允许设置状态值大于NIMQChatMessageStatusCustom
21 */
22@property(nonatomic, assign) NSInteger status;
23
24/**
25 * 消息文本
26 * @discussion 选填
27 */
28@property(nullable, nonatomic, copy) NSString *text;
29
30/**
31 * 服务器扩展
32 * @discussion 选填,上层需要保证 NSDictionary 可以转换为 JSON
33 */
34@property(nullable, nonatomic, copy) NSDictionary *remoteExt;
35
36/**
37 * 反垃圾设置
38 * @discussion 选填
39 */
40@property (nullable, nonatomic, copy) NIMQChatMessageAntispamSetting *antispamSetting;
41
42/**
43 * 消息子类型
44 * @discussion 选填
45 */
46@property (nullable, nonatomic, copy) NSNumber *subType;
47
48@end
49
50NS_ASSUME_NONNULL_END
Definition: NIMQChatMessageAntispamSetting.h:16
Definition: NIMQChatUpdateMessageInfo.h:17
NIMQChatMessageAntispamSetting * antispamSetting
Definition: NIMQChatUpdateMessageInfo.h:40
NSDictionary * remoteExt
Definition: NIMQChatUpdateMessageInfo.h:34
NSInteger status
Definition: NIMQChatUpdateMessageInfo.h:22
NSString * text
Definition: NIMQChatUpdateMessageInfo.h:28
NSNumber * subType
Definition: NIMQChatUpdateMessageInfo.h:46