OBJECT

User

A VoiceLayer User.

link GraphQL Schema definition

  • type User implements Node {
  • # Returns the admin status of the user.
  • admin: Boolean
  • # The avatar_url for the user.
  • avatarUrl: String
  • # Return a single channel based on id. The current user must have
  • # an associated to the channel for it to work.
  • #
  • # Arguments
  • # rawId: [Not documented]
  • channel(rawId: ID!): Channel
  • # The channels that the user is associated with.
  • #
  • # Arguments
  • # after: [Not documented]
  • # before: [Not documented]
  • # first: [Not documented]
  • # last: [Not documented]
  • # membership: [Not documented]
  • channels(
  • after: String,
  • before: String,
  • first: Int,
  • last: Int,
  • membership: ChannelMembershipType
  • ): ChannelConnection
  • # Return the conversation between the current user and the specified user.
  • #
  • # Arguments
  • # rawId: [Not documented]
  • conversation(rawId: ID!): Conversation
  • # The time the user was created.
  • createdAt: NaiveDateTime
  • # Arbitrary user data.
  • #
  • # Arguments
  • # only: The fields that should be fetched in teh data.
  • data(only: [String]!): JSON
  • # The email address for the user.
  • email: String
  • # The external id address for the user.
  • externalId: String
  • # The ID of an object
  • id: ID!
  • # Return the inbox for the user. This can only be used for the authenticated
  • # user.
  • inbox: Inbox
  • # The name of the user. Will return `null` of no name is set.
  • name: String
  • # Return the outbox for the user. This can only be used for the authenticated
  • # user.
  • outbox: Outbox
  • # The canonical UUID for the user on VoiceLayer.
  • rawId: ID
  • # The type of the user.
  • type: UserType
  • }