Tag_SNS_IM_Group
field of a friend list)Field | Type | Description |
Tag_SNS_IM_Group | Array | Friend list:1. A maximum of 32 lists are supported.2. The list name cannot be empty.3. The length of a list name cannot exceed 30 bytes.4. One friend can be added to multiple lists. |
Tag_SNS_IM_Remark | String | Remark: The length of a remark cannot exceed 96 bytes. |
Tag_SNS_IM_AddSource | String | Source from which a friend is added:1. The source field contains a prefix and keyword.2. The prefix of the source field is AddSource_Type_ .3. Keyword: It must be a combination of letters with no more than 8 bytes. We recommend that you use an English word or its abbreviation.4. Example: If the source keyword is Android, the source field is AddSource_Type_Android |
Tag_SNS_IM_AddWording | String | Request content: The length of a request cannot exceed 256 bytes. |
Tag_SNS_IM_AddTime | Integer | Timestamp of adding friends. |
Tag_SNS_Custom
.Test
, the name of the custom friend field is Tag_SNS_Custom_Test
.AllowType_Type_AllowAny
, then anyone who wants to add account A as a friend can directly add account A. In this scenario, there is one step in the friend request and acceptance process.
Approval required: If the approval method for friend requests set by account A is AllowType_Type_NeedConfirm
, then for anyone who wants to add account A as a friend, account A will receive a message asking whether to approve the new friend request. Then, account A accepts or rejects the request to complete the process. In this scenario, there are two steps in the friend request and acceptance process.Deletion Mode | DeleteType | Description |
One-way deletion | Delete_Type_Single | To_Account is deleted from the contacts of From_Account , but From_Account is not deleted from the contacts of To_Account . |
Two-way deletion | Delete_Type_Both | To_Account is deleted from the contacts of From_Account , and From_Account is deleted from the contacts of To_Account . |
Verification Mode | CheckType | Description |
One-way friend verification | CheckResult_Type_Single | This is used to check whether To_Account is in the contact of From_Account , but does not check whether From_Account is in the contact of To_Account . |
Two-way friend verification | CheckResult_Type_Both | This is used to check whether To_Account is in the contact of From_Account and also whether From_Account is in the contact of To_Account . |
Relation | Description |
CheckResult_Type_NoRelation | To_Account is not in the contact of From_Account , but it cannot determine whether From_Account is in the contact of To_Account . |
CheckResult_Type_AWithB | To_Account is in the contact of From_Account , but it cannot determine whether From_Account is in the contact of To_Account . |
Relation | Description |
CheckResult_Type_BothWay | To_Account is in the contact of From_Account , and From_Account is in the contact of To_Account . |
CheckResult_Type_AWithB | To_Account is in the contact of From_Account , but From_Account is not in the contact of To_Account . |
CheckResult_Type_BWithA | To_Account is not in the contact of From_Account , but From_Account is in the contact of To_Account . |
CheckResult_Type_NoRelation | To_Account is not in the contact of From_Account , and From_Account is not in the contact of To_Account . |
Verification Mode | CheckType | Description |
One-way verification | BlackCheckResult_Type_Single | This is used to check whether To_Account is in the blocklist of From_Account , but not check whether From_Account is in the blocklist of To_Account . |
Two-way verification | BlackCheckResult_Type_Both | This is used not only to check whether To_Account is in the blocklist of From_Account , but also to check whether From_Account is in the blocklist of To_Account . |
Relation | Description |
BlackCheckResult_Type_AWithB | To_Account is in the blocklist of From_Account , but it cannot determine whether From_Account is in the blocklist of To_Account . |
BlackCheckResult_Type_NO | To_Account is not in the blocklist of From_Account , but it cannot determine whether From_Account is in the blocklist of To_Account . |
Relation | Description |
BlackCheckResult_Type_BothWay | To_Account is in the blocklist of From_Account , and From_Account is also in the blocklist of To_Account . |
BlackCheckResult_Type_AWithB | To_Account is in the blocklist of From_Account , but From_Account is not in the blocklist of To_Account . |
BlackCheckResult_Type_BWithA | To_Account is not in the blocklist of From_Account , but From_Account is in the blocklist of To_Account . |
BlackCheckResult_Type_NO | To_Account is not in the blocklist of From_Account , and From_Account is not in the blocklist of To_Account . |
Was this page helpful?