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, CreateForumTopic, CreateInvoiceLink, EditChatInviteLink, ExportChatInviteLink, GetChat, GetChatAdministrators, GetChatMember, GetChatMemberCount, GetChatMenuButton, GetCustomEmojiStickers, GetFile, GetForumTopicIconStickers, GetGameHighScores, GetMe, GetMyCommands, GetMyDefaultAdministratorRights, GetStickerSet, GetUpdates, GetUserProfilePhotos, GetWebhookInfo, RevokeChatInviteLink, 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 Details

  • Constructor Details

    • BotApiMethod

      public BotApiMethod()
  • Method Details

    • getMethod

      public abstract String getMethod()
      Getter for method path (that is the same as method name)
      Returns:
      Method path