Zalo User icon

Zalo User

Quản lý người dùng Zalo

Zalo User → Gửi lời mời kết bạn

AI-generated

Summary

Sends a friend request to a specified Zalo user with an accompanying message.

Inputs

  • userId (required) — ID của người dùng cần gửi lời mời kết bạn
  • message (required) — Tin nhắn kèm theo lời mời kết bạn

Output shape

json: { status: string, response: any }

Returned per input item; status indicates success, response contains the API reply from Zalo.

Examples

Example 1: Send friend request to user U123 with message 'Chào bạn!'

userId: 'U123', message: 'Chào bạn!'

Discussion