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:
AnswerWebAppQuery,BotApiMethodBoolean,BotApiMethodMessage,BotApiMethodSerializable,CopyMessage,CreateChatInviteLink,CreateInvoiceLink,EditChatInviteLink,ExportChatInviteLink,GetChat,GetChatAdministrators,GetChatMember,GetChatMemberCount,GetChatMenuButton,GetFile,GetGameHighScores,GetMe,GetMyCommands,GetMyDefaultAdministratorRights,GetStickerSet,GetUpdates,GetUserProfilePhotos,GetWebhookInfo,RevokeChatInviteLink,SendInvoice,StopPoll
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, deserializeResponse, deserializeResponseArray, deserializeResponseSerializable
-
-
-
-
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
-
-