com.viber.bot.middleware.Middleware Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of viber-bot Show documentation
Show all versions of viber-bot Show documentation
Use this library to communicate with the Viber API to develop a bot for https://developers.viber.com/.
package com.viber.bot.middleware;
import com.google.common.util.concurrent.ListenableFuture;
import com.viber.bot.Request;
import javax.annotation.concurrent.ThreadSafe;
import java.io.InputStream;
@ThreadSafe
public interface Middleware {
ListenableFuture incoming(final Request request);
}