Search in sources :

Example 1 with DefineBotCommandRequest

use of com.fanap.podchat.chat.bot.request_model.DefineBotCommandRequest in project pod-chat-android-sdk by FanapSoft.

the class ChatActivity method defineBotCommand.

private void defineBotCommand() {
    List<String> commands = new ArrayList<>();
    commands.add("/command1");
    commands.add("/command2");
    DefineBotCommandRequest request = new DefineBotCommandRequest.Builder("TEST2BOT", commands).build();
    presenter.defineBotCommand(request);
}
Also used : DefineBotCommandRequest(com.fanap.podchat.chat.bot.request_model.DefineBotCommandRequest) ArrayList(java.util.ArrayList)

Aggregations

DefineBotCommandRequest (com.fanap.podchat.chat.bot.request_model.DefineBotCommandRequest)1 ArrayList (java.util.ArrayList)1