Unable to import GroupChannelListQueryParams in JS Client 4.0.0

Hi there,

We are using Typescript and are unable to import GroupChannelListQueryParams as it is not exported in ./lib/__definition.d.ts on line 1480:

declare interface GroupChannelListQueryParams extends BaseListQueryParams, GroupChannelListParams {}

Can this be rectified?

Hi @Marco_Bertossa,

Welcome to the Sendbird Community!

I had an opportunity to speak with our Engineering team on this topic. We’ll get GroupChannelListQueryParams properly exported in 4.0.2.

One thing that was mentioned is that it doesn’t seem like you should be declaring a new interface of the same type. It should just be imported (once fixed) from the @sendbird/chat/groupChannel module.

We hope to get 4.0.2 released early next week.

Thanks Tyler, looking forward to the new release!

Hi @Marco_Bertossa,

JS/TS SDK 4.0.2 has been released and includes the GroupChannelListQueryParams export. Please give it a go and let me know if you run into any issues.