Class NullTelegramClient

java.lang.Object
org.telegram.telegrambots.client.AbstractTelegramClient
host.anzo.commons.socials.telegram.NullTelegramClient
All Implemented Interfaces:
org.telegram.telegrambots.meta.generics.TelegramClient

public class NullTelegramClient extends org.telegram.telegrambots.client.AbstractTelegramClient
Since:
3/14/2025
  • Constructor Details

    • NullTelegramClient

      public NullTelegramClient()
  • Method Details

    • executeAsync

      public <T extends Serializable, Method extends org.telegram.telegrambots.meta.api.methods.botapimethods.BotApiMethod<T>> CompletableFuture<T> executeAsync(Method method) throws org.telegram.telegrambots.meta.exceptions.TelegramApiException
      Throws:
      org.telegram.telegrambots.meta.exceptions.TelegramApiException
    • executeAsync

      public CompletableFuture<org.telegram.telegrambots.meta.api.objects.message.Message> executeAsync(org.telegram.telegrambots.meta.api.methods.send.SendDocument sendDocument)
    • executeAsync

      public CompletableFuture<org.telegram.telegrambots.meta.api.objects.message.Message> executeAsync(org.telegram.telegrambots.meta.api.methods.send.SendPhoto sendPhoto)
    • executeAsync

      public CompletableFuture<Boolean> executeAsync(org.telegram.telegrambots.meta.api.methods.updates.SetWebhook setWebhook)
    • executeAsync

      public CompletableFuture<org.telegram.telegrambots.meta.api.objects.message.Message> executeAsync(org.telegram.telegrambots.meta.api.methods.send.SendVideo sendVideo)
    • executeAsync

      public CompletableFuture<org.telegram.telegrambots.meta.api.objects.message.Message> executeAsync(org.telegram.telegrambots.meta.api.methods.send.SendVideoNote sendVideoNote)
    • executeAsync

      public CompletableFuture<org.telegram.telegrambots.meta.api.objects.message.Message> executeAsync(org.telegram.telegrambots.meta.api.methods.send.SendSticker sendSticker)
    • executeAsync

      public CompletableFuture<org.telegram.telegrambots.meta.api.objects.message.Message> executeAsync(org.telegram.telegrambots.meta.api.methods.send.SendAudio sendAudio)
    • executeAsync

      public CompletableFuture<org.telegram.telegrambots.meta.api.objects.message.Message> executeAsync(org.telegram.telegrambots.meta.api.methods.send.SendVoice sendVoice)
    • executeAsync

      public CompletableFuture<List<org.telegram.telegrambots.meta.api.objects.message.Message>> executeAsync(org.telegram.telegrambots.meta.api.methods.send.SendMediaGroup sendMediaGroup)
    • executeAsync

      public CompletableFuture<List<org.telegram.telegrambots.meta.api.objects.message.Message>> executeAsync(org.telegram.telegrambots.meta.api.methods.send.SendPaidMedia sendPaidMedia)
    • executeAsync

      public CompletableFuture<Boolean> executeAsync(org.telegram.telegrambots.meta.api.methods.groupadministration.SetChatPhoto setChatPhoto)
    • executeAsync

      public CompletableFuture<Boolean> executeAsync(org.telegram.telegrambots.meta.api.methods.stickers.AddStickerToSet addStickerToSet)
    • executeAsync

      public CompletableFuture<Boolean> executeAsync(org.telegram.telegrambots.meta.api.methods.stickers.ReplaceStickerInSet replaceStickerInSet)
    • executeAsync

      public CompletableFuture<Boolean> executeAsync(org.telegram.telegrambots.meta.api.methods.stickers.SetStickerSetThumbnail setStickerSetThumbnail)
    • executeAsync

      public CompletableFuture<Boolean> executeAsync(org.telegram.telegrambots.meta.api.methods.stickers.CreateNewStickerSet createNewStickerSet)
    • executeAsync

      public CompletableFuture<org.telegram.telegrambots.meta.api.objects.File> executeAsync(org.telegram.telegrambots.meta.api.methods.stickers.UploadStickerFile uploadStickerFile)
    • executeAsync

      public CompletableFuture<Serializable> executeAsync(org.telegram.telegrambots.meta.api.methods.updatingmessages.EditMessageMedia editMessageMedia)
    • executeAsync

      public CompletableFuture<org.telegram.telegrambots.meta.api.objects.message.Message> executeAsync(org.telegram.telegrambots.meta.api.methods.send.SendAnimation sendAnimation)
    • downloadFileAsync

      public CompletableFuture<File> downloadFileAsync(org.telegram.telegrambots.meta.api.objects.File file)
    • downloadFileAsStreamAsync

      public CompletableFuture<InputStream> downloadFileAsStreamAsync(org.telegram.telegrambots.meta.api.objects.File file)