NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatInviteApplyDataProtocol.h
浏览该文件的文档.
1//
2// Created by chenjili on 2022/6/21.
3// Copyright (c) 2022 Netease. All rights reserved.
4//
5
6#import <Foundation/Foundation.h>
8
9NS_ASSUME_NONNULL_BEGIN
10
11@interface NIMQChatInviteApplyDataUserInfo : NSObject <NSCopying>
12@property (nullable, nonatomic, copy, readonly) NSString *accid;
13@property (nonatomic, assign, readonly) NIMQChatInviteApplyInfoStatusTag status;
14@property (nullable, nonatomic, copy, readonly) NSString *updateMsg;
15@property (nonatomic, assign, readonly) NSTimeInterval updateTime;
16@end
17
18@protocol NIMQChatInviteApplyData <NSObject>
19/**
20* 申请邀请类型
21*/
22@property(nonatomic, assign, readonly) NIMQChatInviteApplyInfoTypeTag type;
23
24/**
25 * 字典形式的数据
26 */
27@property(nullable, nonatomic, copy, readonly) NSDictionary *dataDict;
28@end
29
30@protocol NIMQChatInviteApplyDataApply <NIMQChatInviteApplyData>
31@property(nullable, nonatomic, copy, readonly) NSString *applyMsg;
32@property(nullable, nonatomic, copy, readonly) NSString *updateAccid;
33@property(nullable, nonatomic, copy, readonly) NSString *updateMsg;
34@end
35
36@protocol NIMQChatInviteApplyDataInvite <NIMQChatInviteApplyData>
37@property(nullable, nonatomic, copy, readonly) NSString *inviteMsg;
38@property(nullable, nonatomic, copy, readonly) NSArray<NIMQChatInviteApplyDataUserInfo *> *inviteUsers;
39@end
40
41@protocol NIMQChatInviteApplyDataInviteAck <NIMQChatInviteApplyData>
42@property(nullable, nonatomic, copy, readonly) NSString *inviteMsg;
43@property(nullable, nonatomic, copy, readonly) NSString *updateMsg;
44@end
45
46@protocol NIMQChatInviteApplyDataInviteCode <NIMQChatInviteApplyData>
47@property(nullable, nonatomic, copy, readonly) NSString *inviteMsg;
48@property(nullable, nonatomic, copy, readonly) NSString *inviteCode;
49@property(nonatomic, assign, readonly) NSInteger inviteUserCount;
50@end
51
52@protocol NIMQChatInviteApplyDataInviteJoinByCode <NIMQChatInviteApplyData>
53@property(nullable, nonatomic, copy, readonly) NSString *updateMsg;
54@property(nullable, nonatomic, copy, readonly) NSString *inviteCode;
55@end
56
57NS_ASSUME_NONNULL_END
NIMQChatInviteApplyInfoTypeTag
Definition: NIMQChatInviteApplyHistoryRecord.h:19
NIMQChatInviteApplyInfoStatusTag
Definition: NIMQChatInviteApplyHistoryRecord.h:42
Definition: NIMQChatInviteApplyDataProtocol.h:11
NSString * accid
Definition: NIMQChatInviteApplyDataProtocol.h:12
NSTimeInterval updateTime
Definition: NIMQChatInviteApplyDataProtocol.h:15
NSString * updateMsg
Definition: NIMQChatInviteApplyDataProtocol.h:14
NIMQChatInviteApplyInfoStatusTag status
Definition: NIMQChatInviteApplyDataProtocol.h:13