NIMSDK-iOS
载入中...
搜索中...
未找到
NIMTipObject.h
浏览该文件的文档.
1//
2// NIMTipObject.h
3// NIMLib
4//
5// Created by Netease.
6// Copyright © 2015年 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
14@interface NIMTipObject : NSObject<NIMMessageObject>
15
16/**
17 * 附件
18 */
19@property (nonatomic, copy, readonly, nullable) NSString *attach;
20
21/**
22 * 第三方回调回来的自定义扩展字段
23 */
24@property (nonatomic, copy, readonly, nullable) NSString *callbackExt;
25
26/**
27 * tip消息附件对象构造方法
28 *
29 * @param attach 附件
30 *
31 * @param callbackExt 第三方回调回来的自定义扩展字段(可选)
32 */
33- (instancetype)initWithAttach:(nullable NSString *)attach callbackExt:(nullable NSString *)callbackExt;
34
35@end
36
37NS_ASSUME_NONNULL_END
Definition: NIMTipObject.h:14
NSString * attach
Definition: NIMTipObject.h:19
NSString * callbackExt
Definition: NIMTipObject.h:24
Definition: NIMMessageObjectProtocol.h:20