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
,ApproveChatJoinRequest
,BanChatMember
,BanChatSenderChat
,Close
,CopyMessage
,CreateChatInviteLink
,DeclineChatJoinRequest
,DeleteChatPhoto
,DeleteChatStickerSet
,DeleteMessage
,DeleteMyCommands
,DeleteStickerFromSet
,DeleteWebhook
,EditChatInviteLink
,EditMessageCaption
,EditMessageLiveLocation
,EditMessageReplyMarkup
,EditMessageText
,ExportChatInviteLink
,ForwardMessage
,GetChat
,GetChatAdministrators
,GetChatMember
,GetChatMemberCount
,GetChatMembersCount
,GetFile
,GetGameHighScores
,GetMe
,GetMyCommands
,GetStickerSet
,GetUpdates
,GetUserProfilePhotos
,GetWebhookInfo
,KickChatMember
,LeaveChat
,LogOut
,PinChatMessage
,PromoteChatMember
,RestrictChatMember
,RevokeChatInviteLink
,SendChatAction
,SendContact
,SendDice
,SendGame
,SendInvoice
,SendLocation
,SendMessage
,SendPoll
,SendVenue
,SetChatAdministratorCustomTitle
,SetChatDescription
,SetChatPermissions
,SetChatStickerSet
,SetChatTitle
,SetGameScore
,SetMyCommands
,SetPassportDataErrors
,SetStickerPositionInSet
,SetStickerSetThumb
,SetWebhook
,StopMessageLiveLocation
,StopPoll
,UnbanChatMember
,unbanChatSenderChat
,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 String
METHOD_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 String
getMethod()
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
-
-