Zalo User Interact icon

Zalo User Interact

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

Message → Send Typing Event

AI-generated

Overview

This node operation sends a typing event to a specified Zalo user or group chat. It is useful for indicating to the recipient that the sender is currently typing a message, enhancing real-time communication experience. For example, it can be used in chatbots or automated messaging systems to simulate human-like interaction by showing typing indicators before sending a message.

Use Case Examples

  1. Sending a typing event to a Zalo user to indicate that a message is being composed.
  2. Sending a typing event to a Zalo group chat to notify members that someone is typing.

Properties

Name Meaning
User/Group Id ID of the Zalo User or Group to send the typing event to.
Thread Type Type of conversation, either User or Group.
Dest Type Type of the destination when sending typing event (only used for User thread type).

Output

JSON

  • success - Indicates if the typing event was sent successfully.
  • threadId - The ID of the user or group the typing event was sent to.
  • threadType - The type of the thread (User or Group).
  • destType - The destination type when sending typing event (only for User thread type).

Dependencies

  • Zalo API access with appropriate authentication credentials.

Troubleshooting

  • Ensure the provided User/Group ID is valid and the bot has permission to send typing events to that ID.
  • Verify that the Thread Type is correctly set to User or Group as per the target conversation.
  • If using Dest Type, ensure it is set correctly when Thread Type is User.
  • Check API authentication credentials and network connectivity if the typing event fails to send.
  • Common error messages may include invalid ID, permission denied, or authentication errors. Verify and correct these issues accordingly.

Discussion