ChatParticipant
One row of {@see ChatConversationParticipant}. participant_type mirrors
{@see ChatAuthorType}; user is resolved only when participant_type is
user so the UI can render an avatar/name without a second round-trip.
type ChatParticipant {
id: ID!
participant_type: String!
participant_id: ID
user: User
joined_at: DateTime!
last_read_at: DateTime
}
Fields
ChatParticipant.id ● ID! non-null scalar
ChatParticipant.participant_type ● String! non-null scalar
ChatParticipant.participant_id ● ID scalar
ChatParticipant.user ● User object
ChatParticipant.joined_at ● DateTime! non-null scalar
ChatParticipant.last_read_at ● DateTime scalar
Returned By
addChatConversationParticipant mutation
Member Of
ChatConversation object


