Interface SentCallback<T extends Serializable>
public interface SentCallback<T extends Serializable>
- Version:
- 1.0 Callback to execute api method asynchronously
- Author:
- Ruben Bermudez
-
Method Summary
-
Method Details
-
onResult
Called when the request is successful- Parameters:
method- Method executedresponse- Answer from Telegram server
-
onException
Called when an exception is thrown- Parameters:
method- Method executedexception- Exception thrown
-