OBJECT

Channel

A VoiceLayer Channel

link GraphQL Schema definition

  • type Channel implements Node {
  • # A list of channel users that are associated to the channel.
  • #
  • # Arguments
  • # after: [Not documented]
  • # before: [Not documented]
  • # first: [Not documented]
  • # last: [Not documented]
  • # membership: [Not documented]
  • # subscribed: [Not documented]
  • channelUsers(
  • after: String,
  • before: String,
  • first: Int,
  • last: Int,
  • membership: ChannelMembershipType,
  • subscribed: Boolean
  • ): ChannelUserConnection
  • # The time the channel was created.
  • createdAt: NaiveDateTime
  • # Direct channels involve exactly 2 users with equal permissions.
  • direct: Boolean
  • # The ID of an object
  • id: ID!
  • # The URL for the image associated to the channel. Will be `null` if no
  • # URL is set.
  • imageUrl: String
  • # Managed channels require a user who requests access to join the channel
  • # to be permitted access by an admin of the channel.
  • managed: Boolean
  • # A list of messages for the channel.
  • #
  • # Arguments
  • # after: [Not documented]
  • # before: [Not documented]
  • # createdAfter: [Not documented]
  • # createdBefore: [Not documented]
  • # first: [Not documented]
  • # last: [Not documented]
  • # order: [Not documented]
  • # users: [Not documented]
  • messages(
  • after: String,
  • before: String,
  • createdAfter: NaiveDateTime,
  • createdBefore: NaiveDateTime,
  • first: Int,
  • last: Int,
  • order: SortOrder,
  • users: [String]
  • ): MessageConnection
  • # The name for the channel. Can be input by the user or generated
  • # automatically by the server.
  • name: String
  • # Public channels will appear in the public channel listings.
  • public: Boolean
  • # The canonical UUID for the channel on VoiceLayer.
  • rawId: String
  • # Channel type depending on the channel default read
  • # and write permissions.
  • type: ChannelType
  • # The time the channel was last updated.
  • updatedAt: NaiveDateTime
  • }