Interface Request<T>

All Known Implementing Classes:
BanChatMember, CopyMessage, EditMessageLiveLocation, ExportChatInviteLink, ForwardMessage, GetMe, GetMyCommands, GetUpdates, GetUserProfilePhotos, PromoteChatMember, RestrictChatMember, SendAnimation, SendAudio, SendChatAction, SendContact, SendDice, SendDocument, SendLocation, SendMessage, SendPhoto, SendPoll, SendVenue, SendVideo, SendVideoNote, SendVoice, SetChatAdministratorCustomTitle, SetChatPermissions, SetMyCommands, SetWebHook, StopMessageLiveLocation, UnbanChatMember

public interface Request<T>
  • Method Details

    • getMethod

      String getMethod()
    • getResponseType

      com.fasterxml.jackson.core.type.TypeReference<T> getResponseType()
    • getBody

      Optional<Map<Object,​Object>> getBody()