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.GetUpdatesBuilderGetUpdates.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.SetWebhookBuilderSetWebhook.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. ALLstatic UpdateType<Update.CallbackQueryUpdate>UpdateType. CALLBACK_QUERYstatic UpdateType<Update.ChannelPostUpdate>UpdateType. CHANNEL_POSTstatic UpdateType<Update.ChosenInlineResultUpdate>UpdateType. CHOSEN_INLINE_RESULTstatic UpdateType<Update.EditedChannelPostUpdate>UpdateType. EDITED_CHANNEL_POSTstatic UpdateType<Update.EditedMessageUpdate>UpdateType. EDITED_MESSAGEstatic UpdateType<Update.InlineQueryUpdate>UpdateType. INLINE_QUERYstatic UpdateType<Update.MessageUpdate>UpdateType. MESSAGEstatic UpdateType<Update.PreCheckoutQueryUpdate>UpdateType. PRE_CHECKOUT_QUERYstatic UpdateType<Update.ShippingQueryUpdate>UpdateType. SHIPPING_QUERYMethods 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)UpdateTypeUpdateType.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.PollingUpdateProviderBuilderPollingUpdateProvider.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)voidUpdateType.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.PollingUpdateProviderBuilderPollingUpdateProvider.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)
-