TL;DR
A webhook is a URL that gets an HTTP POST whenever an event fires; Eloqra uses one so Telegram replies reach the visitor's chat widget in real time.
Key Points
✓
Webhooks are often called reverse or push APIs because the server pushes data to your URL as events occur, rather than your client repeatedly asking for it. [1][3]
✓
Eloqra registers a webhook with the Telegram Bot API; when an operator replies in Telegram, Telegram sends an HTTPS POST containing the message to Eloqra's endpoint. [2]
✓
That inbound payload is matched to the right [[conversation]] and stored as an Out-direction [[chat-message]] authored by the [[support-operator]].
✓
The visitor's [[live-chat-widget]] never receives the webhook directly; it picks up the new reply on its next [[http-polling|poll]], so the two transports work together.
✓
Telegram webhooks require HTTPS (TLS) and support an optional secret token header, so Eloqra can verify that a request genuinely came from Telegram. [2]
✓
Unlike a [[websocket]], a webhook is a one-shot, one-directional HTTP call per event, which is simpler to host and fits Eloqra's lightweight backend.
How a webhook differs from polling
Eloqra's Telegram reply webhook
Security and reliability
Sources & References
Last updated: June 25, 2026
Related Terms
Telegram Integration
Telegram Integration is the mechanism by which Eloqra routes every website chat into the project owner's Telegram, forwarding visitor messages to a Telegram bot and flowing operator replies back to the widget. It turns Telegram into the operator inbox, so there is no separate agent console to keep open.
HTTP Polling
HTTP polling is a real-time technique where the client repeatedly sends HTTP requests on a fixed interval to ask the server whether new data is available, instead of holding a persistent connection. Eloqra's chat widget uses short polling roughly every 4-5 seconds to fetch new messages and typing state.
WebSocket
WebSocket is a protocol (standardized as RFC 6455) that opens a single, persistent, full-duplex connection between a browser and a server, letting either side push data at any time without re-issuing HTTP requests. It is the transport many real-time apps reach for when they need low-latency, bidirectional messaging.
REST API
A REST API is a web interface that lets two systems exchange data over HTTP by treating each piece of data as a resource addressed by a URL and acted on with standard methods like GET, POST, PUT, and DELETE. It follows the Representational State Transfer architectural style, which favors stateless, uniform, cacheable interactions between client and server.
Conversation
A conversation is the threaded exchange of messages between a single website visitor and a project's operators, grouped as one unit with a status and unread counters. In Eloqra it is the container that holds every message, the visitor's captured context, and the assigned operator.
Support Operator
A support operator is the human on your side of a live chat who reads visitor messages and replies to them. In Eloqra the operator is whoever has access to the project's Telegram chat or Mini App inbox and answers incoming conversations from there.
More in Widget, Integration & Privacy
Collect testimonials that build trust
Eloqra gives you a lightweight live chat widget that routes every visitor message to your Telegram — free while in early access.
Get Started FreeMore in Widget, Integration & Privacy
View all in Widget, Integration & Privacy →Categories
Learn More
Guides on collecting testimonials, building trust, and turning customer feedback into social proof.
Read the blog →