com.pengrad.telegrambot.Callback Maven / Gradle / Ivy
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 {
void onResponse(T request, R response);
void onFailure(T request, IOException e);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy