NIMRobotManager Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | NIMRobotManagerProtocol.h |
– allRobots
required method
Get all chatbots
- (nullable NSArray<NIMRobot*> *)allRobots
Return Value
all chatbots info
Discussion
Get all chatbots
Declared In
NIMRobotManagerProtocol.h
– isValidRobot:
required method
Check for valid chatbots
- (BOOL)isValidRobot:(NSString *)userId
Parameters
userId |
user ID (chatbot) |
---|
Return Value
result
Discussion
Check for valid chatbots
Declared In
NIMRobotManagerProtocol.h
– robotInfo:
required method
Get the chatbot info
- (nullable NIMRobot *)robotInfo:(NSString *)userId
Parameters
userId |
user ID (chatbot) |
---|
Return Value
chatbot info
Discussion
Get the chatbot info
Declared In
NIMRobotManagerProtocol.h
– fetchAllRobotsFromServer:
required method
Get all remote chatbots info
- (void)fetchAllRobotsFromServer:(nullable NIMRobotsHandler)completion
Parameters
completion |
Callback when all remote chatbots are retrieved |
---|
Discussion
Get all remote chatbots info
Declared In
NIMRobotManagerProtocol.h