예제 #1
0
    public static void FriendshipModifyFriendProfile()
    {
        FriendshipModifyFriendProfileParam param = new FriendshipModifyFriendProfileParam();

        param.friendship_modify_friend_profile_param_identifier = "287646";
        FriendProfileItem item = new FriendProfileItem();
        List <FriendProfileCustemStringInfo> list = new List <FriendProfileCustemStringInfo>();
        FriendProfileCustemStringInfo        info = new FriendProfileCustemStringInfo();

        info.friend_profile_custom_string_info_key   = "Tag_SNS_Custom_ATime";
        info.friend_profile_custom_string_info_value = "2021.12.21";
        list.Add(info);
        item.friend_profile_item_custom_string_array      = list;
        param.friendship_modify_friend_profile_param_item = item;
        TIMResult res = TencentIMSDK.FriendshipModifyFriendProfile(param, addAsyncDataToConsole);

        addDataToConsole(res);
    }