feat: chat
This commit is contained in:
@@ -168,6 +168,13 @@ export type RelationshipState = {
|
||||
blocked: boolean;
|
||||
/** they have blocked you. */
|
||||
blocked_by: boolean;
|
||||
/** Whether the viewer may START a conversation with this profile. Reflects
|
||||
* the target's "who can message you" setting and any block, so the Message
|
||||
* button is only offered when tapping it would actually work. */
|
||||
can_message: boolean;
|
||||
/** The target's rule when `can_message` is false — one of "blocked",
|
||||
* "friends", "account_age", "same_gender" — so the UI can explain why. */
|
||||
message_restriction?: string;
|
||||
};
|
||||
|
||||
/** Returned by every relationship mutation: the recomputed state plus
|
||||
|
||||
Reference in New Issue
Block a user