Skip to main content

GUAFriendReqInfo

Data Structures

GUAFriendReqType: friend request type.

public enum GUAFriendReqType
{
Friend_REQ_TEXT = 10000, //text sharing
Friend_REQ_LINK, //link sharing
Friend_REQ_IMG, //texture sharing
Friend_REQ_INVITE, //app sharing
Friend_REQ_MUSIC, //music sharing
Friend_REQ_VIDEO, //video sharing
Friend_REQ_MINI_APP, //applets sharing
FRIEND_REQ_PULL_UP_MINI_APP, //applet pull up
Friend_REQ_ARK, //ARK sharing
Friend_REQ_OPEN_BUSINESS_VIEW, //Pull up business functions
Friend_REQ_WX_GAMELINE, //Game circle sharing
Friend_REQ_WX_CHANNEL_SHARE_VIDEO, //sharing to wxchannel
Friend_REQ_WX_STATE_TEXT, //sharing text to WXState
Friend_REQ_WX_STATE_PHOTO, //sharing photo to WXState
Friend_REQ_WX_STATE_MUSIC_VIDEO, //sharing audio to WXState
Friend_REQ_WX_CHANNEL_START_LIVE, //WeChat video account live
Friend_REQ_QQ_COMMON_SHARE, //QQ small world share



Friend_REQ_TEXT_SILENT = 20000, //text sharing(silence)
Friend_REQ_LINK_SILENT, //link sharing (silence)
Friend_REQ_IMG_SILENT, //texture sharing (silence)
Friend_REQ_INVITE_SILENT, //application invitation (silence)
Friend_REQ_MUSIC_SILENT, //music sharing (silence)
Friend_REQ_VIDEO_SILENT, //video sharing (silence)
Friend_REQ_MINI_APP_SILENT, //applets sharing (silence)
}

GUAFriendReqInfo: friend info.

ParameterTypeDescriptionRemark
TypeintFriend request typeRequired for sharing content
Optional for adding friends
UserstringUser ID or OpenID of the specified userRequired
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 meida file
Optional
LinkstringLink
Hyperlink of the picture, music, or video
Optional
ExtraJsonstringThe extended fieldOptional