PlayerContact
Another player in the caller’s contacts list for the app. Contacts are mutual: an accepted contact is in both players’ lists, and it is what a CONTACTS scope admits.
type PlayerContact {
userId: BigInt!
state: ContactState!
createdAt: DateTime!
acceptedAt: DateTime
}
Fields
PlayerContact.userId ● BigInt! non-null scalar
The other player (resolve its name with playerProfile).
PlayerContact.state ● ContactState! non-null enum
PENDING or ACCEPTED (myContacts lists accepted ones only).
PlayerContact.createdAt ● DateTime! non-null scalar
When the request was made.
PlayerContact.acceptedAt ● DateTime scalar
When it was accepted; null while pending.
Returned By
acceptContact mutation ● myContacts query ● requestContact mutation