Class TelegramMessenger

  • All Implemented Interfaces:
    Messenger

    @Component
    public class TelegramMessenger
    extends org.telegram.telegrambots.bots.DefaultAbsSender
    implements Messenger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getBotToken()  
      String getPlatform()  
      String getUrlFromLocation​(Location location, TypeUrl typeUrl)  
      void sendButtonMessage​(String conversationId, GroupedButton groupedButton)  
      void sendCarousel​(String conversationId, List<Carousel> carouselList)  
      void sendFileMessage​(String conversationId, List<LabelUrl> labelUrlList)  
      void sendImageMessage​(String conversationId, List<LabelUrl> labelUrlList)  
      void sendLocation​(String conversationId, Location location)  
      void sendQuickReply​(String conversationId, String text, List<QuickReply> quickReply)  
      void sendTextMessage​(String conversationId, String text)  
      void sendTypingOn​(String conversationId)  
      • Methods inherited from class org.telegram.telegrambots.bots.DefaultAbsSender

        addStickerToSet, createNewStickerSet, downloadFile, downloadFile, downloadFileAsync, downloadFileAsync, getBaseUrl, getOptions, sendApiMethod, sendApiMethodAsync, sendAudio, sendDocument, sendMediaGroup, sendPhoto, sendSticker, sendVideo, sendVideoNote, sendVoice, setChatPhoto, uploadStickerFile
      • Methods inherited from class org.telegram.telegrambots.bots.AbsSender

        answerCallbackQuery, answerCallbackQueryAsync, answerInlineQuery, answerInlineQueryAsync, answerPreCheckoutQuery, answerPreCheckoutQuery, answerShippingQuery, answerShippingQuery, deleteChatPhoto, deleteChatPhoto, deleteMessage, deleteMessage, deleteWebhook, deleteWebhook, editMessageCaption, editMessageCaptionAsync, editMessageReplyMarkup, editMessageReplyMarkup, editMessageText, editMessageTextAsync, execute, executeAsync, exportChatInviteLink, exportChatInviteLinkAsync, forwardMessage, forwardMessageAsync, getChat, getChatAdministrators, getChatAdministratorsAsync, getChatAsync, getChatMember, getChatMemberAsync, getChatMemberCount, getChatMemberCountAsync, getFile, getFileAsync, getGameHighScores, getGameHighScoresAsync, getMe, getMeAsync, getUserProfilePhotos, getUserProfilePhotosAsync, getWebhookInfo, getWebhookInfoAsync, kickMember, kickMemberAsync, leaveChat, leaveChatAsync, pinChatMessage, pinChatMessage, promoteChatMember, promoteChatMember, restrictChatMember, restrictChatMember, sendChatAction, sendChatActionAsync, sendContact, sendContactAsync, sendGame, sendGameAsync, sendInvoice, sendInvoice, sendLocation, sendLocationAsync, sendMessage, sendMessageAsync, sendVenue, sendVenueAsync, setChatDescription, setChatDescription, setChatTitle, setChatTitle, setGameScore, setGameScoreAsync, unbanMember, unbanMemberAsync, unpinChatMessage, unpinChatMessage