Skip to main content
Version: 1.0.0

Friendship Plugins Functions

Get Users Friends

Retrieves a list of friendships for the current user based on the provided parameters.

var friends = await DynamicPixels.Table.GetServices().Friendship.GetMyFriends(new GetMyFriendsParams
{
Skip = 0,
Limit = 0
});

Get Users Friends Requests

Retrieves a list of friendship requests received by the current user based on the provided parameters.

var requests = await DynamicPixels.Table.GetServices().Friendship.GetMyFriendshipRequests(
new GetMyFriendshipRequestsParams
{
Skip = 0,
Limit = 0
});

Request Friendship

Sends a friendship request to another user based on the provided parameters.

var requests = await DynamicPixels.Table.GetServices().Friendship.RequestFriendship(new RequestFriendshipParams
{
UserId = 0
});

Accept a Request

Accepts a friendship request based on the provided parameters.

var requests = await DynamicPixels.Table.GetServices().Friendship.AcceptRequest(new AcceptRequestParams
{
RequestId = 0
});

Reject a Request

Rejects a friendship request based on the provided parameters.

var requests = await DynamicPixels.Table.GetServices().Friendship.RejectRequest(new RejectRequestParams
{
RequestId = 0
});

Reject All Requests

Rejects all pending friendship requests based on the provided parameters.

var requests = await DynamicPixels.Table.GetServices().Friendship.RejectAllRequests(new RejectAllRequestsParams());

Delete a Friend

Deletes a friendship with a specified user based on the provided parameters.

    await DynamicPixels.Table.GetServices().Friendship.DeleteFriend(new DeleteParams()