Actions10
Chấp Nhận Lời Mời Kết Bạn
AI-generatedSummary
Accepts a friend request sent to your Zalo account by the specified user ID.
Inputs
- userId (required) — ID of the target user whose friend request you wish to accept.
Output shape
no body — success/failure only
Returns success if the request is accepted; returns an error if the user ID is invalid or no pending request exists.
Examples
Example 1: Accept a friend request from a user with ID 123456789.
Set User ID to 123456789.