Skip to main content

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

ParametersTypeExplanationNote
TypeintFriend Request TypeMandatory when sharing content
Optional when adding a friend
UserstringUser ID or OpenID
Enter the specified user's OpenID
Sharing (Share) not supported
Required
TitlestringTitle of shared contentRequired
DescriptionstringDescription
Briefly describe the purpose of sharing
Optional
ImagePathstringPath of the image
Local path (recommended) or URL of the online image
Optional
ThumbPathstringPath of the thumbnail
Local path (recommended) or URL of the online thumbnail
Optional
MediaPathstringMultimedia path (music or video)
Local path of the multimedia file
Optional
LinkstringLink
Hyperlinks to images, music, or videos
Optional
ExtraJsonstringExtended parametersOptional