Marketplace API / Queries

chatChannels

Channels the caller can see. A subscribers-only channel the caller cannot read is listed with viewer.canRead false. Defaults to POSITION, ascending. first defaults to 20, at most 100. Empty when Marketplace.chatChannelsEnabled is false.

chatChannels(
  after: String
  first: Int
  sort: ChatChannelSortInput
  where: ChatChannelWhereInput
): ChatChannelConnection!

Arguments

ArgumentTypeDescription
afterStringCursor for forward pagination.
firstIntMaximum number of channels to return. Defaults to 20. Values outside 1 through 100 are rejected.
sortChatChannelSortInputSort order for the results. Defaults to POSITION, ascending.
whereChatChannelWhereInputFilters to apply.

Return type

ChatChannelConnection!