RejectFriendRequest
public BackndReturnObject RejectFriendRequest(string gamerIndate);
Parameter
Value | Type | Description |
---|---|---|
gamerIndate | string | indate of the gamer whose friend request is to be declined |
Description
Declines a friend request.
Example
Synchronous
Backnd.Friend.RejectFriendRequest("2020-02-11T01:08:12.603Z");
Asynchronous
Backnd.Friend.RejectFriendRequest("2020-02-11T01:08:12.603Z", (callback) =>
{
// Post-process
});
Return cases
Success cases
When the request is declined successfully
statusCode : 204
Error cases
When the corresponding gamerIndate is not a friend
statusCode : 404
errorCode : NotFoundException