Zalo User Interact icon

Zalo User Interact

Gửi tin nhắn và tương tác với Zalo User

Actions133

Message → Send Typing Event

AI-generated

Summary

Sends a typing indicator event to a Zalo user or group chat thread.

Inputs

  • threadId (required) — The ID of the target Zalo user or group thread.
  • threadType (required) — The conversation type, set to User (0) or Group (1).
  • destType — The destination object type (User or Page). Only applicable when Thread Type is set to User.

Output shape

A JSON object containing the status response from Zalo.

Returns the success or error response object returned by the Zalo API after submitting the typing event.

Examples

Example 1: Send a typing indicator to a Zalo user

threadId = 'user_id_123', threadType = 0, destType = 3

Example 2: Send a typing indicator to a Zalo group

threadId = 'group_id_456', threadType = 1

Links

Discussion