mirror of
https://github.com/WuKongIM/WuKongIMiOSSDK-Framework
synced 2025-06-06 17:50:55 +00:00
44 lines
979 B
Objective-C
44 lines
979 B
Objective-C
//
|
|
// WKRobot.h
|
|
// WuKongIMSDK
|
|
//
|
|
// Created by tt on 2021/10/19.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
typedef enum : NSUInteger {
|
|
WKRobotStatusDisable,
|
|
WKRobotStatusEnable,
|
|
} WKRobotStatus;
|
|
|
|
@class WKRobotMenus;
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface WKRobot : NSObject
|
|
|
|
@property (nonatomic, copy) NSString *robotID;
|
|
|
|
@property (nonatomic, copy) NSString *username; // 机器人username
|
|
|
|
@property (nonatomic, assign) long version;
|
|
|
|
@property(nonatomic,assign) WKRobotStatus status;
|
|
|
|
@property(nonatomic,assign) BOOL inlineOn; // 是否支持行内搜索
|
|
@property(nonatomic,copy) NSString *placeholder; // 如果支持行内搜索 则占位字符内容
|
|
|
|
@property (nonatomic, strong) NSArray<WKRobotMenus*> *menus;
|
|
|
|
@end
|
|
|
|
@interface WKRobotMenus : NSObject
|
|
@property (nonatomic, copy) NSString *robotID;
|
|
@property (nonatomic, copy) NSString *cmd;
|
|
@property (nonatomic, copy) NSString *remark;
|
|
@property (nonatomic, copy) NSString *type;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|