Class BotApiMethod<T extends Serializable>
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.methods.PartialBotApiMethod<T>
-
- org.telegram.telegrambots.meta.api.methods.BotApiMethod<T>
-
- All Implemented Interfaces:
Validable
- Direct Known Subclasses:
AnswerCallbackQuery,AnswerInlineQuery,AnswerPreCheckoutQuery,AnswerShippingQuery,Close,CopyMessage,DeleteChatPhoto,DeleteChatStickerSet,DeleteMessage,DeleteStickerFromSet,DeleteWebhook,EditMessageCaption,EditMessageLiveLocation,EditMessageReplyMarkup,EditMessageText,ExportChatInviteLink,ForwardMessage,GetChat,GetChatAdministrators,GetChatMember,GetChatMembersCount,GetFile,GetGameHighScores,GetMe,GetMyCommands,GetStickerSet,GetUpdates,GetUserProfilePhotos,GetWebhookInfo,KickChatMember,LeaveChat,LogOut,PinChatMessage,PromoteChatMember,RestrictChatMember,SendChatAction,SendContact,SendDice,SendGame,SendInvoice,SendLocation,SendMessage,SendPoll,SendVenue,SetChatAdministratorCustomTitle,SetChatDescription,SetChatPermissions,SetChatStickerSet,SetChatTitle,SetGameScore,SetMyCommands,SetPassportDataErrors,SetStickerPositionInSet,SetStickerSetThumb,SetWebhook,StopMessageLiveLocation,StopPoll,UnbanChatMember,UnpinAllChatMessages,UnpinChatMessage
public abstract class BotApiMethod<T extends Serializable> extends PartialBotApiMethod<T>
- Version:
- 1.0 A method of Telegram Bots Api that is fully supported in json format
- Author:
- Ruben Bermudez
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringMETHOD_FIELD-
Fields inherited from class org.telegram.telegrambots.meta.api.methods.PartialBotApiMethod
OBJECT_MAPPER
-
-
Constructor Summary
Constructors Constructor Description BotApiMethod()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract StringgetMethod()Getter for method path (that is the same as method name)-
Methods inherited from class org.telegram.telegrambots.meta.api.methods.PartialBotApiMethod
deserializeResponse
-
-
-
-
Field Detail
-
METHOD_FIELD
protected static final String METHOD_FIELD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMethod
public abstract String getMethod()
Getter for method path (that is the same as method name)- Returns:
- Method path
-
-