NIMSDK-iOS
载入中...
搜索中...
未找到
NIMMessageChatroomExtension.h
浏览该文件的文档.
1//
2// NIMMessageChatroomExtension.h
3// NIMLib
4//
5// Created by Netease.
6// Copyright © 2015 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
13/**
14 * 消息内的聊天室拓展信息
15 * @discussion 用户进入聊天室时填的 NIMChatroomEnterRequest 中的额外信息将在发送聊天室信息时将转换为消息中聊天拓展信息
16 */
17@interface NIMMessageChatroomExtension : NSObject
18/**
19 * 用户在聊天室内的昵称
20 */
21@property (nullable,nonatomic,copy) NSString *roomNickname;
22
23/**
24 * 用户在聊天室内的头像
25 */
26@property (nullable,nonatomic,copy) NSString *roomAvatar;
27
28/**
29 * 用户在聊天室内的头像缩略图
30 * @discussion 仅适用于使用云信上传服务进行上传的资源,否则无效。
31 */
32
33@property (nullable,nonatomic,copy,readonly) NSString *roomAvatarThumbnail;
34
35/**
36 * 用户在当前聊天室的拓展信息
37 */
38@property (nullable,nonatomic,copy) NSString *roomExt;
39
40@end
41
42
43NS_ASSUME_NONNULL_END
Definition: NIMMessageChatroomExtension.h:18
NSString * roomNickname
Definition: NIMMessageChatroomExtension.h:21
NSString * roomExt
Definition: NIMMessageChatroomExtension.h:38
NSString * roomAvatar
Definition: NIMMessageChatroomExtension.h:26
NSString * roomAvatarThumbnail
Definition: NIMMessageChatroomExtension.h:33