Package com.pengrad.telegrambot.response
Class BaseResponse
java.lang.Object
com.pengrad.telegrambot.response.BaseResponse
- Direct Known Subclasses:
ChatInviteLinkResponse
,CreateForumTopicResponse
,GetChatAdministratorsResponse
,GetChatMemberCountResponse
,GetChatMemberResponse
,GetChatMembersCountResponse
,GetChatMenuButtonResponse
,GetChatResponse
,GetCustomEmojiStickersResponse
,GetFileResponse
,GetForumTopicIconStickersResponse
,GetGameHighScoresResponse
,GetMeResponse
,GetMyCommandsResponse
,GetMyDefaultAdministratorRightsResponse
,GetStickerSetResponse
,GetUpdatesResponse
,GetUserProfilePhotosResponse
,GetWebhookInfoResponse
,MessageIdResponse
,MessagesResponse
,PollResponse
,SendResponse
,SentWebAppMessageResponse
,StringResponse
public class BaseResponse
extends java.lang.Object
stas
1/13/16.
-
Method Summary
Modifier and Type Method Description java.lang.String
description()
int
errorCode()
boolean
isOk()
ResponseParameters
parameters()
java.lang.String
toString()
-
Method Details
-
isOk
public boolean isOk() -
errorCode
public int errorCode() -
description
public java.lang.String description() -
parameters
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-