use of com.fanap.podchat.chat.bot.result_model.StartStopBotResult in project pod-chat-android-sdk by FanapSoft.
the class BotManager method handleOnBotStartedOrStopped.
public static ChatResponse<StartStopBotResult> handleOnBotStartedOrStopped(ChatMessage chatMessage) {
ChatResponse<StartStopBotResult> response = new ChatResponse<>();
StartStopBotResult result = new StartStopBotResult(chatMessage.getContent());
response.setResult(result);
response.setUniqueId(chatMessage.getUniqueId());
response.setSubjectId(chatMessage.getSubjectId());
return response;
}
Aggregations