Scripts
Send Request
Send a friend request to another user.
Source | Name | Public |
---|---|---|
Source | send_request | Yes |
Request
export interface Request {
userToken: string;
targetUserId: string;
}
Response
export interface Response {
friendRequest: FriendRequest;
}
export interface FriendRequest {
id: string;
senderUserId: string;
targetUserId: string;
createdAt: string;
declinedAt: null | string;
acceptedAt: null | string;
}