FriendReqInfo
Data structure
INTLFriendReqType: friend request type
public enum INTLFriendReqType
{
Friend_REQ_TEXT = 10000, //Sharing text
Friend_REQ_LINK, //Sharing link
Friend_REQ_IMAGE, //Sharing picture
Friend_REQ_INVITE, //Sharing invitation
Friend_REQ_VIDEO, //Sharing video
}
INTLFriendReqInfo: friend info
| Parameter | Type | Description | Remark |
|---|---|---|---|
| Type | int | Friend request type | Required for sharing content Optional for adding friends |
| User | string | User ID or OpenID Enter the OpenID of the specified user Share not supported | Required |
| Title | string | Title of shared content | Required |
| Description | string | Descriptions Briefly describe the purpose of sharing | Optional |
| ImagePath | string | Picture path Local path (recommended) or URL of the picture | Optional |
| ThumbPath | string | Thumbnail path Local path (recommended) or URL of the thumbnail | Optional |
| MediaPath | string | Media (music or video) path Local path of the media file | Optional |
| Link | string | Link Hyperlink of the picture, music, or video | Optional |
| ExtraJson | string | The extended field | Optional |