ApiInterfaces
SentRequest
Interface: SentRequest
Defined in: api/friends/types.ts:214
An outbound friend request — the logged-in user has added this account and is waiting for them to accept.
Remarks
toUsername / toDisplayName are best-effort: populated only when
the recipient is already in the publicUsers cache (mutuals lookups,
prior search, etc.). Callers can always match on toUserId.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
toDisplayName? | string | Recipient's display name — only present when the public-users cache holds them. | api/friends/types.ts:220 |
toUserId | string | Hyphenated UUID of the recipient. | api/friends/types.ts:216 |
toUsername? | string | Recipient's Snap username — only present when the public-users cache holds them. | api/friends/types.ts:218 |