All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.viber.bot.api.ApiException Maven / Gradle / Ivy

Go to download

Use this library to communicate with the Viber API to develop a bot for https://developers.viber.com/.

There is a newer version: 1.0.11
Show newest version
package com.viber.bot.api;

import java.util.Map;
import java.util.concurrent.ExecutionException;

public class ApiException extends ExecutionException {
    private static final String STATUS_MESSAGE = "status_message";

    public ApiException(final Map responseMap) {
        super(responseMap.get(STATUS_MESSAGE).toString());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy