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