Uses of Class
com.jtelegram.api.update.UpdateType
-
Packages that use UpdateType Package Description com.jtelegram.api.requests com.jtelegram.api.requests.webhooks com.jtelegram.api.update -
-
Uses of UpdateType in com.jtelegram.api.requests
Methods in com.jtelegram.api.requests that return types with arguments of type UpdateType Modifier and Type Method Description java.util.List<UpdateType>
GetUpdates. getAllowedUpdates()
Method parameters in com.jtelegram.api.requests with type arguments of type UpdateType Modifier and Type Method Description GetUpdates.GetUpdatesBuilder
GetUpdates.GetUpdatesBuilder. allowedUpdates(java.util.List<UpdateType> allowedUpdates)
Constructor parameters in com.jtelegram.api.requests with type arguments of type UpdateType Constructor Description GetUpdates(java.util.function.Consumer<Update[]> callback, java.util.function.Consumer<TelegramException> errorHandler, int offset, int limit, int timeout, java.util.List<UpdateType> allowedUpdates)
-
Uses of UpdateType in com.jtelegram.api.requests.webhooks
Methods in com.jtelegram.api.requests.webhooks that return types with arguments of type UpdateType Modifier and Type Method Description java.util.List<UpdateType>
SetWebhook. getAllowedTypes()
java.util.List<UpdateType>
WebhookInfo. getAllowedUpdates()
Method parameters in com.jtelegram.api.requests.webhooks with type arguments of type UpdateType Modifier and Type Method Description SetWebhook.SetWebhookBuilder
SetWebhook.SetWebhookBuilder. allowedTypes(java.util.List<UpdateType> allowedTypes)
-
Uses of UpdateType in com.jtelegram.api.update
Fields in com.jtelegram.api.update declared as UpdateType Modifier and Type Field Description static UpdateType<?>[]
UpdateType. ALL
static UpdateType<Update.CallbackQueryUpdate>
UpdateType. CALLBACK_QUERY
static UpdateType<Update.ChannelPostUpdate>
UpdateType. CHANNEL_POST
static UpdateType<Update.ChosenInlineResultUpdate>
UpdateType. CHOSEN_INLINE_RESULT
static UpdateType<Update.EditedChannelPostUpdate>
UpdateType. EDITED_CHANNEL_POST
static UpdateType<Update.EditedMessageUpdate>
UpdateType. EDITED_MESSAGE
static UpdateType<Update.InlineQueryUpdate>
UpdateType. INLINE_QUERY
static UpdateType<Update.MessageUpdate>
UpdateType. MESSAGE
static UpdateType<Update.PreCheckoutQueryUpdate>
UpdateType. PRE_CHECKOUT_QUERY
static UpdateType<Update.ShippingQueryUpdate>
UpdateType. SHIPPING_QUERY
Methods in com.jtelegram.api.update that return UpdateType Modifier and Type Method Description static UpdateType<? extends Update>
UpdateType. from(java.lang.Class<? extends Update> clazz)
static UpdateType<? extends Update>
UpdateType. from(java.lang.String name)
UpdateType
UpdateType.GsonTypeAdapter. read(com.google.gson.stream.JsonReader jsonReader)
Methods in com.jtelegram.api.update that return types with arguments of type UpdateType Modifier and Type Method Description java.util.List<UpdateType>
PollingUpdateProvider. getAllowedUpdates()
Methods in com.jtelegram.api.update with parameters of type UpdateType Modifier and Type Method Description PollingUpdateProvider.PollingUpdateProviderBuilder
PollingUpdateProvider.PollingUpdateProviderBuilder. allowedUpdate(UpdateType allowedUpdate)
static <T extends Update>
voidPollingUpdateRunnable. handleUpdate(TelegramBot bot, long maxAge, UpdateType<T> type, Update update)
static <T extends Update>
voidPollingUpdateRunnable. handleUpdate(TelegramBot bot, UpdateType<T> type, Update update)
void
UpdateType.GsonTypeAdapter. write(com.google.gson.stream.JsonWriter jsonWriter, UpdateType updateType)
Method parameters in com.jtelegram.api.update with type arguments of type UpdateType Modifier and Type Method Description PollingUpdateProvider.PollingUpdateProviderBuilder
PollingUpdateProvider.PollingUpdateProviderBuilder. allowedUpdates(java.util.Collection<? extends UpdateType> allowedUpdates)
Constructor parameters in com.jtelegram.api.update with type arguments of type UpdateType Constructor Description PollingUpdateProvider(int sleepInterval, int timeout, long maxUpdateAge, java.util.List<UpdateType> allowedUpdates, java.util.function.Consumer<TelegramException> updateErrorHandler)
-