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

ParametersTypeExplanationNotes
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
Mandatory
TitlestringTitle of shared contentMandatory
DescriptionstringDescription
Briefly describe the purpose of sharing
Optional
Image PathstringPath of the image
Local path (recommended) or URL of the online image
Optional
Thumb PathstringPath of the thumbnail
Local path (recommended) or URL of the online thumbnail
Optional
Media PathstringMultimedia path (music or video)
Local path of the multimedia file
Optional
LinkstringLink
Hyperlinks to images, music, or videos
Optional
ExtraJsonstringExtended parametersOptional