org.telegram.api.engine.RpcCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegramapi Show documentation
Show all versions of telegramapi Show documentation
Java library to create Telegram Clients
The newest version!
package org.telegram.api.engine;
import org.telegram.tl.TLObject;
/**
* Created with IntelliJ IDEA.
* User: Ruben Bermudez
* Date: 05.11.13
* Time: 14:10
* @param the type parameter
*/
public interface RpcCallback {
/**
* On result.
*
* @param result the result
*/
void onResult(T result);
/**
* On error.
*
* @param errorCode the error code
* @param message the message
*/
void onError(int errorCode, String message);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy