Sign inGet Started

Send a typing indicator

POST
/v1/amb/conversations/{conversation_id}/typing
const result = await bird.amb.conversations.typing(
  "acv_01krdgeqcxet5s7t44vh8rt9mg",
  { event: "typing_start" },
);
console.log(result);
Sends a typing indicator to the customer's device on this conversation. Send typing_start before the reply it precedes; sending it again before that reply is not meaningful and may be dropped. Apple's own behavior for typing_end sent with no reply following is unproven, so treat it as best-effort. This conversation must be open: the same checks that gate a message on this conversation gate a typing indicator, other than the content checks, since a typing indicator has no content.
Parameter
conversation_id
string
Conversation identifier. Starts with acv_.
Payload Permintaan
event
string
wajib
The typing signal to send. typing_start tells the customer's device that an operator is composing a reply. typing_end tells it composition stopped without a message following. Apple expects at most one typing_start before the reply it precedes; sending it again before that reply is not meaningful and may be dropped. typing_end's behavior against a live conversation is unproven: the legacy platform's implementation was disabled after it caused issues, so treat it as best-effort.
Possible values: typing_start, typing_end

Sumber daya terkait

Lanjutkan dengan dokumentasi, panduan, dan contoh untuk topik ini. Sumber daya tersedia dalam bahasa Inggris.

Dapatkan ringkasan implementasi