Functions
includeWebhookHandlingInRoute
Link copied to clipboard
fun Route.includeWebhookHandlingInRoute(scope: CoroutineScope, exceptionsHandler: SuspendFunction1<Throwable, Unit>?, block: SuspendFunction1<Update, Unit>)
Content copied to clipboard
includeWebhookHandlingInRouteWithFlows
Link copied to clipboard
fun Route.includeWebhookHandlingInRouteWithFlows(scope: CoroutineScope, exceptionsHandler: SuspendFunction1<Throwable, Unit>?, block: FlowsUpdatesFilter.() -> Unit)
Content copied to clipboard
setWebhookInfoAndStartListenWebhooks
Link copied to clipboard
suspend fun RequestsExecutor.setWebhookInfoAndStartListenWebhooks(listenPort: Int, engineFactory: ApplicationEngineFactory<*, *>, setWebhookRequest: SetWebhookRequest, exceptionsHandler: SuspendFunction1<Throwable, Unit>, listenHost: String, listenRoute: String, privateKeyConfig: WebhookPrivateKeyConfig?, scope: CoroutineScope, block: SuspendFunction1<Update, Unit>): ApplicationEngine
Content copied to clipboard
startGettingFlowsUpdatesByLongPolling
Link copied to clipboard
@FlowPreview()
Content copied to clipboard
startGettingOfUpdatesByLongPolling
Link copied to clipboard
fun RequestsExecutor.startGettingOfUpdatesByLongPolling(updatesFilter: UpdatesFilter, timeoutSeconds: Int, exceptionsHandler: SuspendFunction1<Throwable, Unit>?, scope: CoroutineScope): Job
Content copied to clipboard
fun RequestsExecutor.startGettingOfUpdatesByLongPolling(timeoutSeconds: Int, scope: CoroutineScope, exceptionsHandler: SuspendFunction1<Throwable, Unit>?, allowedUpdates: List<String>?, updatesReceiver: SuspendFunction1<Update, Unit>): Job
Content copied to clipboard
fun RequestsExecutor.startGettingOfUpdatesByLongPolling(messageCallback: SuspendFunction1<MessageUpdate, Unit>?, mediaGroupCallback: SuspendFunction1<MediaGroupUpdate, Unit>?, editedMessageCallback: SuspendFunction1<EditMessageUpdate, Unit>?, channelPostCallback: SuspendFunction1<ChannelPostUpdate, Unit>?, editedChannelPostCallback: SuspendFunction1<EditChannelPostUpdate, Unit>?, chosenInlineResultCallback: SuspendFunction1<ChosenInlineResultUpdate, Unit>?, inlineQueryCallback: SuspendFunction1<InlineQueryUpdate, Unit>?, callbackQueryCallback: SuspendFunction1<CallbackQueryUpdate, Unit>?, shippingQueryCallback: SuspendFunction1<ShippingQueryUpdate, Unit>?, preCheckoutQueryCallback: SuspendFunction1<PreCheckoutQueryUpdate, Unit>?, pollCallback: SuspendFunction1<PollUpdate, Unit>?, pollAnswerCallback: SuspendFunction1<PollAnswerUpdate, Unit>?, timeoutSeconds: Int, exceptionsHandler: SuspendFunction1<Throwable, Unit>?, scope: CoroutineScope): Job
Content copied to clipboard
fun RequestsExecutor.startGettingOfUpdatesByLongPolling(messageCallback: SuspendFunction1<MessageUpdate, Unit>?, messageMediaGroupCallback: SuspendFunction1<MessageMediaGroupUpdate, Unit>?, editedMessageCallback: SuspendFunction1<EditMessageUpdate, Unit>?, editedMessageMediaGroupCallback: SuspendFunction1<EditMessageMediaGroupUpdate, Unit>?, channelPostCallback: SuspendFunction1<ChannelPostUpdate, Unit>?, channelPostMediaGroupCallback: SuspendFunction1<ChannelPostMediaGroupUpdate, Unit>?, editedChannelPostCallback: SuspendFunction1<EditChannelPostUpdate, Unit>?, editedChannelPostMediaGroupCallback: SuspendFunction1<EditChannelPostMediaGroupUpdate, Unit>?, chosenInlineResultCallback: SuspendFunction1<ChosenInlineResultUpdate, Unit>?, inlineQueryCallback: SuspendFunction1<InlineQueryUpdate, Unit>?, callbackQueryCallback: SuspendFunction1<CallbackQueryUpdate, Unit>?, shippingQueryCallback: SuspendFunction1<ShippingQueryUpdate, Unit>?, preCheckoutQueryCallback: SuspendFunction1<PreCheckoutQueryUpdate, Unit>?, pollCallback: SuspendFunction1<PollUpdate, Unit>?, pollAnswerCallback: SuspendFunction1<PollAnswerUpdate, Unit>?, timeoutSeconds: Int, exceptionsHandler: SuspendFunction1<Throwable, Unit>?, scope: CoroutineScope): Job
Content copied to clipboard
startListenWebhooks
Link copied to clipboard
fun startListenWebhooks(listenPort: Int, engineFactory: ApplicationEngineFactory<*, *>, exceptionsHandler: SuspendFunction1<Throwable, Unit>, listenHost: String, listenRoute: String?, privateKeyConfig: WebhookPrivateKeyConfig?, scope: CoroutineScope, block: SuspendFunction1<Update, Unit>): ApplicationEngine
Content copied to clipboard
updateHandlerWithMediaGroupsAdaptation
Link copied to clipboard
fun CoroutineScope.updateHandlerWithMediaGroupsAdaptation(output: SuspendFunction1<Update, Unit>): SuspendFunction1<Update, Unit>
Content copied to clipboard
fun CoroutineScope.updateHandlerWithMediaGroupsAdaptation(output: SuspendFunction1<Update, Unit>, debounceTimeMillis: Long): SuspendFunction1<Update, Unit>
Content copied to clipboard