Friend Request (FriendReqInfo)
Data Structure
INTLFriendReqType: Friend Request Type
public enum INTLFriendReqType
{
Friend_REQ_TEXT = 10000, // Share Text
Friend_REQ_LINK, // Share Link
Friend_REQ_IMAGE, // Share Image
Friend_REQ_INVITE, // Share Invite
Friend_REQ_VIDEO, // Share Video
}
INTLFriendReqInfo: Friend Request Information
| Parameters | Type | Explanation | Notes |
|---|---|---|---|
| Type | int | Friend Request Type | Mandatory when sharing content Optional when adding a friend |
| User | String | User ID or OpenID Enter the specified user's OpenID Sharing (Share) not supported | Mandatory |
| Title | string | Title of shared content | Mandatory |
| Description | string | Description Briefly describe the purpose of sharing | Optional |
| Image Path | string | Path of the image Local path (recommended) or URL of the online image | Optional |
| Thumb Path | string | Path of the thumbnail Local path (recommended) or URL of the online thumbnail | Optional |
| Media Path | string | Multimedia path (music or video) Local path of the multimedia file | Optional |
| Link | string | Link Hyperlinks to images, music, or videos | Optional |
| ExtraJson | string | Extended parameters | Optional |