Publish session typing
Shows the typing indicator in a conversation while a plugin prepares its
reply: in the Talqui app, and on the channel where it supports one
(WhatsApp Cloud, WhatsApp via Gupshup, WebChat). Accepted for a plugin
installed on the tenant (Plugin token) or the tenant’s plugin connection;
operator tokens are refused. The event carries no operatorID, so the app
shows it as an automation typing.
The indicator is anchored to the latest message the contact sent in the
session. Omit messageID and that message is used. When messageID is
sent it must be that message, or the call answers 409 with the latest one in
fields[0].allowed. On WhatsApp the indicator also marks that message, and
every one before it, as read.
There is no need to call stop after replying: the indicator ends when the
reply is delivered, after about 25s on WhatsApp and 90s in the Talqui app.
stop only has an effect on WebChat. One start per session is published
every 5s; the extra calls answer 202 with published: false.
Returns 202: the channel is reached asynchronously.
Path Parameters
The tenant of the conversation.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$The session where the typing indicator is shown.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Body
start shows the indicator; stop clears it on the channels that support it (WebChat).
start, stop Contact message being answered. Omit it to use the latest message the contact sent in the session; when sent, it must be that message.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Response
Response for status 202.
The action received.
start, stop false when that message has no channel id: only the Talqui app shows the indicator.
The contact message the indicator was anchored to.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$false when the call fell inside the throttle window and nothing was sent.
Why nothing was published, when published is false.
throttled