Class TelegramBotClient

java.lang.Object
com.pengrad.telegrambot.impl.TelegramBotClient

public class TelegramBotClient
extends java.lang.Object
stas 5/1/16.
  • Constructor Summary

    Constructors 
    Constructor Description
    TelegramBotClient​(okhttp3.OkHttpClient client, com.google.gson.Gson gson, java.lang.String baseUrl)  
  • Method Summary

    Modifier and Type Method Description
    <T extends BaseRequest<T,​ R>,​ R extends BaseResponse>
    R
    send​(BaseRequest<T,​R> request)  
    <T extends BaseRequest<T,​ R>,​ R extends BaseResponse>
    void
    send​(T request, Callback<T,​R> callback)  
    void shutdown()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait