GUAFriendReqInfo
Data Structures
- Unity
- Unreal Engine
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.
Parameter | Type | Description | Remark |
---|---|---|---|
Type | int | Friend request type | Required for sharing content Optional for adding friends |
User | string | User ID or OpenID of the specified user | 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 meida file | Optional |
Link | string | Link Hyperlink of the picture, music, or video | Optional |
ExtraJson | string | The extended field | Optional |
GUAFriendReqType
: friend request type.
typedef enum GUA_EXTERN GUAFriendReqType
{
kGUAFriendReqTypeText = 10000, //text sharing
kGUAFriendReqTypeLink, //link sharing
kGUAFriendReqTypeIMG, //texture sharing
kGUAFriendReqTypeInvite, //app sharing
kGUAFriendReqTypeMusic, //music sharing
kGUAFriendReqTypeVideo, //video sharing
kGUAFriendReqTypeMiniApp, //applets sharing
kGUAFriendReqTypePullUpMiniApp, //applet pull up
kGUAFriendReqTypeArk, //ARK sharing
kGUAFriendReqTypeOpenBusinessView, //Pull up business functions
kGUAFriendReqTypeWXGameLine, //Game circle sharing
kGUAFriendReqTypeWXChannelShareVideo, //sharing to wxchannel
kGUAFriendReqTypeWXStateText, //sharing text to WXState
kGUAFriendReqTypeWXStatePhoto, //sharing photo to WXState
kGUAFriendReqTypeWXStateMusicVideo, //sharing audio to WXState
kGUAFriendReqTypeWXChannelStartLive, //WeChat channel live
kGUAFriendReqTypeWithCommonShare, //small world share
kGUAFriendReqTypeTextSilent = 20000, //text sharing(silence)
kGUAFriendReqTypeLinkSilent, //link sharing (silence)
kGUAFriendReqTypeIMGSilent, //texture sharing (silence)
kGUAFriendReqTypeInviteSilent, //application invitation (silence)
kGUAFriendReqTypeMusicSilent, //music sharing (silence)
kGUAFriendReqTypeVideoSilent, //video sharing (silence)
kGUAFriendReqTypeMiniAppSilent, //applets sharing (silence)
};
GUAFriendReqInfo
: friend info.
Parameter | Type | Description | Remark |
---|---|---|---|
type | int | Friend request type | Required for sharing content Optional for adding friends |
user | std::string | User ID or OpenID of the specified user | Required |
title | std::string | Title of shared content | Required |
description | std::string | Descriptions Briefly describe the purpose of sharing | Optional |
image_path | std::string | Picture path Local path (recommended) or URL of the picture | Optional |
thumb_path | std::string | Thumbnail path Local path (recommended) or URL of the thumbnail | Optional |
media_path | std::string | Media (music or video) path Local path of the meida file | Optional |
link | std::string | Link Hyperlink of the picture, music, or video | Optional |
extra_json | std::string | The extended field | Optional |