Skip to main content

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

ParameterTypeDescriptionRemark
TypeintFriend request typeRequired for sharing content
Optional for adding friends
UserstringUser ID or OpenID
Enter the OpenID of the specified user
Share not supported
Required
TitlestringTitle of shared contentRequired
DescriptionstringDescriptions
Briefly describe the purpose of sharing
Optional
ImagePathstringPicture path
Local path (recommended) or URL of the picture
Optional
ThumbPathstringThumbnail path
Local path (recommended) or URL of the thumbnail
Optional
MediaPathstringMedia (music or video) path
Local path of the media file
Optional
LinkstringLink
Hyperlink of the picture, music, or video
Optional
ExtraJsonstringThe extended fieldOptional