NIMSDK-iOS
载入中...
搜索中...
未找到
V2NIMAddCollectionParams.h
浏览该文件的文档.
1//
2// V2NIMAddCollectionParams.h
3// NIMSDK
4//
5// Created by 齐洪茹 on 2023/8/31.
6// Copyright © 2023 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
13@interface V2NIMAddCollectionParams : NSObject
14
15/// 收藏索引,大于 0, 可以按该字段分类
16@property (nonatomic,assign) int collectionType;
17/// 收藏数据, 最大 20480 字节
18@property (nonnull,nonatomic,strong) NSString *collectionData;
19/// 收藏信息客户端 ID, 收藏时若存在相同客户端 ID 则覆盖
20@property (nonnull,nonatomic,strong) NSString *serverExtension;
21/// 去重唯一ID, 如果ID相同, 则不会新增收藏,只更新之前的收藏内容
22@property (nullable,nonatomic,strong) NSString *uniqueId;
23
24@end
25
26NS_ASSUME_NONNULL_END
Definition: V2NIMAddCollectionParams.h:14
NSString * uniqueId
去重唯一ID, 如果ID相同, 则不会新增收藏,只更新之前的收藏内容
Definition: V2NIMAddCollectionParams.h:22
int collectionType
收藏索引,大于 0, 可以按该字段分类
Definition: V2NIMAddCollectionParams.h:16
NSString * collectionData
收藏数据, 最大 20480 字节
Definition: V2NIMAddCollectionParams.h:18
NSString * serverExtension
收藏信息客户端 ID, 收藏时若存在相同客户端 ID 则覆盖
Definition: V2NIMAddCollectionParams.h:20