ApiInterfaces
ReceivedRequest
Interface: ReceivedRequest
Defined in: api/friends/types.ts:192
An inbound friend request — someone has added the logged-in user and is waiting for IFriendsManager.acceptRequest or IFriendsManager.rejectRequest.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
fromDisplayName? | string | Requester's display name. Optional. | api/friends/types.ts:198 |
fromUserId | string | Hyphenated UUID of the requester. | api/friends/types.ts:194 |
fromUsername | string | Requester's Snap username (handle). | api/friends/types.ts:196 |
receivedAt? | Date | Server-side ms timestamp surfaced as a Date. | api/friends/types.ts:200 |
source? | FriendSource | Best-effort source attribution (mirrors FriendSource enum). | api/friends/types.ts:202 |