Reference

Bot and automation glossary

Short definitions of the terms used across the guides, in alphabetical order.

24-hour window
The period after a user's last message during which a business may message them freely on WhatsApp and Messenger.
Allow list
An explicit list of permitted values (commands, domains, user IDs). Safer than trying to block every bad value.
App-level token
A Slack token (xapp-) that represents the app itself, used to open Socket Mode connections.
Application service
A Matrix component registered with a homeserver that receives events for a namespace of users and rooms; used for bridges.
At-least-once delivery
A guarantee that an event will be delivered, possibly more than once. Requires idempotent handlers.
Backoff
Waiting longer between successive retries, usually exponentially, to give an overloaded service time to recover.
Barge-in
In voice bots, letting the caller interrupt playback by speaking.
Bot token
The credential that authenticates a bot to a platform API. Equivalent to a password for the bot account.
BotCommandScope
A Telegram object that limits a command menu to certain chats, such as private chats, groups or chat administrators.
BotFather
The official Telegram bot used to create bots and manage their settings.
Callback query
The Telegram update sent when a user presses an inline keyboard button with callback_data.
Chunking
Splitting documents into smaller passages before indexing them for retrieval.
Circuit breaker
A pattern that stops calling a failing dependency for a while instead of piling up requests.
Correlation ID
An identifier attached to every log line and trace span for one request, so its path can be followed across services.
Cron expression
Five fields (minute, hour, day of month, month, day of week) that describe a recurring schedule. Build one with the cron builder.
Dead-letter queue
A queue where messages go after repeated processing failures, so they can be inspected without blocking others.
Deep link
A URL that opens an app at a specific place, such as a Telegram bot with a start parameter.
Deferred response
An initial acknowledgment to a Discord interaction (type 5) that buys up to 15 minutes to send the real reply.
DST (daylight saving time)
Seasonal clock changes that shift a time zone's UTC offset; a common source of scheduling bugs.
E.164
The international phone number format: a plus sign, country code and number, up to 15 digits.
Embed
A rich message card on Discord with title, description, fields, images and color.
Embedding
A numeric vector that represents the meaning of text, used for semantic search and retrieval.
Entitlement
In Discord monetization, a record that a user or guild has access to a purchased SKU.
Ephemeral message
A message visible only to the user who triggered it (Discord, Slack).
EventSub
Twitch's system for subscribing to channel and chat events over WebSocket or webhooks.
Function calling
Another name for tool calling: the model returns structured calls that your code validates and executes.
Gateway
Discord's WebSocket API that streams real-time events to connected bots.
Guild
The API name for a Discord server.
Handover protocol
A Messenger Platform feature for passing a conversation between apps, for example from a bot to a human inbox.
HMAC
Hash-based message authentication code: a keyed hash used to sign webhook payloads with a shared secret.
Homeserver
A Matrix server that hosts user accounts and federates with other servers.
Hybrid search
Retrieval that combines keyword ranking (such as BM25) with semantic vector search.
IANA time zone
A named zone such as Europe/Madrid from the tz database; preferred over fixed UTC offsets.
Idempotency
The property that performing an operation several times has the same effect as performing it once.
Idempotency key
A unique value sent with a request so the server can recognize and ignore retries.
Inline keyboard
Buttons attached to a Telegram message that open URLs or send callback queries.
Intents
Discord Gateway event groups a bot subscribes to. Some are privileged and require approval.
Interaction
A Discord event triggered by a user using a slash command, button, select menu or modal.
Jitter
Random variation added to retry delays so many clients do not retry at the same moment.
JSONPath
A query language for selecting values in JSON documents, standardized in RFC 9535.
JWT
JSON Web Token: a signed, base64url-encoded set of claims. Decoding is not the same as verifying.
Locale
A language and region identifier, such as pt-BR, that controls translations and formats.
Long polling
Requesting new events with a request that the server holds open until events arrive or a timeout passes.
MarkdownV2
A Telegram parse mode with strict escaping rules for reserved characters.
MCP (Model Context Protocol)
An open protocol that lets AI applications discover and call tools and resources exposed by servers.
Message tag
A Messenger label that allows certain non-promotional messages outside the 24-hour window.
Mini App
A web application that opens inside Telegram and can exchange data with a bot.
mrkdwn
Slack's text formatting syntax, similar to but not the same as Markdown.
OAuth2 scope
A named permission requested when installing an app (for example Slack chat:write).
Opt-in
A user's explicit consent to receive messages. Required for business-initiated WhatsApp messages.
Permissions integer
A Discord bit field where each bit grants one permission, used in invite links and roles.
Plural rules
Locale-specific rules choosing between forms such as one, few, many and other.
Privacy mode
Telegram's group setting that limits which messages a bot receives.
Prompt injection
Text that tries to override an AI model's instructions, delivered directly by a user or hidden in content the model reads.
PSID
Page-scoped ID: how Messenger identifies a person to a specific Page.
QR code
A two-dimensional barcode with error correction levels L, M, Q and H, often used to share bot links.
RAG (retrieval-augmented generation)
Retrieving relevant documents and adding them to a model prompt so answers are grounded in your data.
Rate limit
A cap on how many requests a client may make in a period. Exceeding it returns HTTP 429.
Replay attack
Re-sending a captured valid request. Prevented with timestamps, nonces and short validity windows.
Reranker
A model that re-scores retrieved candidates against the query to improve precision.
robots.txt
A file that tells crawlers which paths to avoid, standardized in RFC 9309.
Secret token (Telegram)
A value you set with setWebhook that Telegram sends in the X-Telegram-Bot-Api-Secret-Token header.
Sharding
Splitting a Discord bot's gateway connection into several shards, each handling a subset of guilds.
Signing secret
A shared secret used by a platform (such as Slack) to sign requests to your app.
SKU
A purchasable item or subscription in Discord's monetization system.
Slash command
A command beginning with / that a chat platform routes to an app with structured options.
Snowflake
Discord's 64-bit unique ID format that encodes a timestamp; store it as a string in JavaScript.
Socket Mode
Slack's WebSocket connection mode, which removes the need for a public Request URL.
Speech-to-text (STT)
Converting spoken audio into text, ideally with streaming partial results.
SSRF
Server-side request forgery: tricking a server into fetching internal or unintended URLs.
Staging bot
A separate bot account and token used to test changes before production.
Telegram Stars
Telegram's in-app currency (XTR) required for selling digital goods in bots.
Template message
A pre-approved WhatsApp message format that can be sent outside the 24-hour window.
Text-to-speech (TTS)
Generating spoken audio from text.
Token bucket
A rate-limiting algorithm that allows bursts up to a capacity while enforcing an average rate.
Tool calling
A model capability to request execution of functions you define, with JSON arguments.
Transaction ID
A client-chosen ID that makes a Matrix send request idempotent.
Update
A Telegram event object with an increasing update_id.
Voice activity detection (VAD)
Detecting when someone starts and stops speaking, used for turn-taking.
Webhook
An HTTP request sent by a service to your URL when an event occurs.

Ack-first

Pattern where a webhook handler persists or enqueues work and returns HTTP 200 before slow processing.

PKCE

Proof Key for Code Exchange (RFC 7636). Protects OAuth authorization codes for public clients using code_verifier and code_challenge.

Ed25519

Public-key signature scheme used by Discord to sign interaction requests.

WAL (SQLite)

Write-Ahead Logging mode that improves concurrent read performance for SQLite.

Kill switch

A configuration flag that stops a bot from sending outbound messages without taking the process down.

Cold start

Delay when a serverless instance wakes to handle a request after being idle.

Thundering herd

Many scheduled jobs firing at the same instant (often minute 0), stressing shared APIs.

Secret token (Telegram)

Value passed to setWebhook and checked via X-Telegram-Bot-Api-Secret-Token.

Privileged intent

Discord Gateway intent that must be enabled in the Developer Portal (and approved for larger bots), such as MESSAGE_CONTENT.

Retry-After

HTTP header indicating how long to wait before retrying after rate limiting.