com.pengrad.telegrambot.Callback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-telegram-bot-api Show documentation
Show all versions of java-telegram-bot-api Show documentation
Java API for Telegram Bot API
package com.pengrad.telegrambot;
import com.pengrad.telegrambot.request.BaseRequest;
import com.pengrad.telegrambot.response.BaseResponse;
import java.io.IOException;
/**
* stas
* 5/3/16.
*/
public interface Callback, R extends BaseResponse> {
void onResponse(T request, R response);
void onFailure(T request, IOException e);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy