LCFriendship contains static functions that handle LCFriendship.
More...
LCFriendship contains static functions that handle LCFriendship.
◆ AcceptRequest()
| static async Task LeanCloud.Storage.LCFriendship.AcceptRequest |
( |
LCFriendshipRequest |
request, |
|
|
Dictionary< string, object > |
attributes = null |
|
) |
| |
|
inlinestatic |
Accepts a friend request.
- Parameters
-
| request | The request. |
| attributes | The additional attributes for the friendship. |
- Returns
◆ BlockFriend()
| static async Task LeanCloud.Storage.LCFriendship.BlockFriend |
( |
string |
userId | ) |
|
|
inlinestatic |
Blocks the user.
- Parameters
-
- Returns
◆ DeclineRequest()
Declines a friend request.
- Parameters
-
- Returns
◆ Request()
| static async Task LeanCloud.Storage.LCFriendship.Request |
( |
string |
userId, |
|
|
Dictionary< string, object > |
attributes = null |
|
) |
| |
|
inlinestatic |
Requests to add a friend.
- Parameters
-
| userId | The user id to add. |
| attributes | The additional attributes for the friendship. |
- Returns
◆ UnblockFriend()
| static async Task LeanCloud.Storage.LCFriendship.UnblockFriend |
( |
string |
userId | ) |
|
|
inlinestatic |
Unblocks the user.
- Parameters
-
- Returns
The documentation for this class was generated from the following file: