Uses of Class
com.jtelegram.api.TelegramBot
-
-
Uses of TelegramBot in com.jtelegram.api
Methods in com.jtelegram.api that return types with arguments of type TelegramBot Modifier and Type Method Description java.util.Set<TelegramBot>
TelegramBotRegistry. getBots()
Method parameters in com.jtelegram.api with type arguments of type TelegramBot Modifier and Type Method Description void
TelegramBotRegistry. registerBot(java.lang.String apiKey, java.util.function.BiConsumer<TelegramBot,TelegramException> callback)
Registers the bot and makes a request to telegram to verify the apiKey is correct This action will be performed on the bot's dedicated request queue, and thus a callback must be used. -
Uses of TelegramBot in com.jtelegram.api.commands
Methods in com.jtelegram.api.commands that return TelegramBot Modifier and Type Method Description TelegramBot
CommandRegistry. getBot()
Constructors in com.jtelegram.api.commands with parameters of type TelegramBot Constructor Description CommandRegistry(TelegramBot bot)
-
Uses of TelegramBot in com.jtelegram.api.events
Methods in com.jtelegram.api.events that return TelegramBot Modifier and Type Method Description TelegramBot
Event. getBot()
TelegramBot
EventRegistry. getBot()
Constructors in com.jtelegram.api.events with parameters of type TelegramBot Constructor Description Event(TelegramBot bot)
EventRegistry(TelegramBot bot)
-
Uses of TelegramBot in com.jtelegram.api.events.channel
Constructors in com.jtelegram.api.events.channel with parameters of type TelegramBot Constructor Description ChannelPostEditEvent(TelegramBot bot, Message post)
ChannelPostEvent(TelegramBot bot, Message post)
-
Uses of TelegramBot in com.jtelegram.api.events.chat
Constructors in com.jtelegram.api.events.chat with parameters of type TelegramBot Constructor Description ChatMemberJoinedEvent(TelegramBot bot, NewChatMembersMessage originMessage)
ChatMemberLeftEvent(TelegramBot bot, LeftChatMemberMessage originMessage)
ChatMigratedFromChatEvent(TelegramBot bot, MigrateFromChatIdMessage originMessage)
ChatMigratedToChatEvent(TelegramBot bot, MigrateToChatIdMessage originMessage)
ChatPhotoDeletedEvent(TelegramBot bot, DeleteChatPhotoMessage originMessage)
GroupChatCreatedEvent(TelegramBot bot, GroupChatCreatedMessage originMessage)
NewChatPhotoEvent(TelegramBot bot, NewChatPhotoMessage originMessage)
NewChatTitleEvent(TelegramBot bot, NewChatTitleMessage originMessage)
PinnedMessageEvent(TelegramBot bot, PinnedMessageMessage originMessage)
UserLoggedInEvent(TelegramBot bot, UserLoggedInMessage originMessage)
-
Uses of TelegramBot in com.jtelegram.api.events.inline
Constructors in com.jtelegram.api.events.inline with parameters of type TelegramBot Constructor Description ChosenInlineResultEvent(TelegramBot bot, ChosenInlineResult chosenResult)
InlineQueryEvent(TelegramBot bot, InlineQuery query)
-
Uses of TelegramBot in com.jtelegram.api.events.inline.keyboard
Constructors in com.jtelegram.api.events.inline.keyboard with parameters of type TelegramBot Constructor Description CallbackQueryEvent(TelegramBot bot, CallbackQuery query)
-
Uses of TelegramBot in com.jtelegram.api.events.location
Constructors in com.jtelegram.api.events.location with parameters of type TelegramBot Constructor Description LocationUpdateEvent(TelegramBot bot, LocationMessage message)
-
Uses of TelegramBot in com.jtelegram.api.events.message
-
Uses of TelegramBot in com.jtelegram.api.events.message.edit
Constructors in com.jtelegram.api.events.message.edit with parameters of type TelegramBot Constructor Description CaptionEditEvent(TelegramBot bot, CaptionableMessage message)
TextMessageEditEvent(TelegramBot bot, TextMessage newMessage)
-
Uses of TelegramBot in com.jtelegram.api.events.payment
Constructors in com.jtelegram.api.events.payment with parameters of type TelegramBot Constructor Description PreCheckoutQueryEvent(TelegramBot bot, PreCheckoutQuery checkoutQuery)
ShippingQueryEvent(TelegramBot bot, ShippingQuery shippingQuery)
SuccessfulPaymentEvent(TelegramBot bot, SuccessfulPaymentMessage message)
-
Uses of TelegramBot in com.jtelegram.api.message.input.file
Methods in com.jtelegram.api.message.input.file with parameters of type TelegramBot Modifier and Type Method Description default okhttp3.Request.Builder
InputFileRequest. getBuilder(TelegramBot bot)
okhttp3.Request.Builder
InputFileRequest. superBuild(TelegramBot bot)
-
Uses of TelegramBot in com.jtelegram.api.requests.framework
Methods in com.jtelegram.api.requests.framework that return TelegramBot Modifier and Type Method Description TelegramBot
BotRequest. getBot()
Methods in com.jtelegram.api.requests.framework with parameters of type TelegramBot Modifier and Type Method Description default okhttp3.Request.Builder
TelegramRequest. build(TelegramBot bot)
Constructors in com.jtelegram.api.requests.framework with parameters of type TelegramBot Constructor Description BotRequest(TelegramBot bot, TelegramRequest request)
-
Uses of TelegramBot in com.jtelegram.api.requests.message.framework.req
Methods in com.jtelegram.api.requests.message.framework.req with parameters of type TelegramBot Modifier and Type Method Description okhttp3.Request.Builder
InputFileMessageRequest. build(TelegramBot bot)
okhttp3.Request.Builder
InputFileMessageUpdate. build(TelegramBot bot)
okhttp3.Request.Builder
InputFileMessageRequest. superBuild(TelegramBot bot)
okhttp3.Request.Builder
InputFileMessageUpdate. superBuild(TelegramBot bot)
okhttp3.Request.Builder
SendableInputFileInlineRequest. superBuild(TelegramBot bot)
-
Uses of TelegramBot in com.jtelegram.api.requests.webhooks
Methods in com.jtelegram.api.requests.webhooks with parameters of type TelegramBot Modifier and Type Method Description okhttp3.Request.Builder
SetWebhook. build(TelegramBot bot)
-
Uses of TelegramBot in com.jtelegram.api.update
Methods in com.jtelegram.api.update that return types with arguments of type TelegramBot Modifier and Type Method Description java.util.Map<TelegramBot,java.lang.Thread>
PollingUpdateProvider. getBotThreads()
java.util.function.BiFunction<TelegramBot,T,Event>
UpdateType. getEventFunction()
Methods in com.jtelegram.api.update with parameters of type TelegramBot Modifier and Type Method Description 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
PollingUpdateProvider. listenFor(TelegramBot bot)
void
UpdateProvider. listenFor(TelegramBot bot)
Begin listening for updates for this botvoid
PollingUpdateProvider. stopListening(TelegramBot bot)
void
UpdateProvider. stopListening(TelegramBot bot)
Stop listening for updates for this botConstructors in com.jtelegram.api.update with parameters of type TelegramBot Constructor Description PollingUpdateRunnable(TelegramBot bot, PollingUpdateProvider owner)
-