shipany.bot.jobs
shipany.bot.jobs package
Submodules
shipany.bot.jobs.timeout module
async shipany.bot.jobs.timeout.triggered(timeout_id, serialized_event, *, flow)
Process the triggered timeout.
- Parameters:
- timeout_id (
str) — The id of the triggered timeout. - serialized_event (
dict[str,Any]) — The serialized event that triggered the timeout. - flow (
Flow) — The flow of the conversation.
- timeout_id (
- Return type: None
shipany.bot.jobs.webhook module
async shipany.bot.jobs.webhook.triggered(webhook_id, body, *, flow)
Process the triggered webhook.
- Parameters:
- webhook_id (
str) — The id of the triggered webhook. - body (
bytes) — The body of the webhook. - flow (
Flow) — The flow of the conversation.
- webhook_id (
- Return type: None
async shipany.bot.jobs.webhook.process_telegram_update(body, *, on_updates)
Process the Telegram update.
- Parameters:
- body (
bytes) — The body of the webhook. - on_updates (
OnUpdatesDispatcher) — The dispatcher for the updates.
- body (
- Return type: None
async shipany.bot.jobs.webhook.process_webhook(activation, conversation, _)
Process the webhook.
- Parameters:
- activation (
WebhookActivation) — The webhook activation. - conversation (
Conversation) — The conversation. - _ (bytes) — The body of the webhook.
- activation (
- Return type: None