Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

214
Vistas
Is it possible to query channels in GetStream by channel IDs list

I need to query channels by providing list if IDs although i can't find any documentation on it. I tried to query channels without any filters like this : chatClient.queryChannels(); it gives me only 10 channeles. I tried query channel by members

const filter = { members: { $in: ['thierry'] } }; 
const sort = { };
chatClient.queryChannels(filter, sort);

It's still provides me only 10 channels. Is it possible in getstream to get channels by it's IDs or CIDs ?

I need something like this :

const filter = { ['ID1', 'ID2', 'ID3'...] }; 
const sort = { };
const channels = await chatClient.queryChannels(filter, sort);
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Yes, it is possible to filter with id or cid. You can add the same in the filter.

const filter = { id: { $in: ['ID1', 'ID2'] } };
const sort = { };
chatClient.queryChannels(filter, sort);

It's given in the documentation of query channels as well, but couldn't find an example here. Hope the above example helped.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda