i’m, using a JAVASCRIPT SDK v4
i want to filter channel list to the user_id. but not work.
const groupChannelQuery = sb.groupChannel.createMyGroupChannelListQuery({
limit: 100,
includeEmpty: true,
userIdsFilter: {
userIds: ['75124'],
includeMode: true,
},
order: 'latest_last_message',
});
try {
const collection = await groupChannelQuery.next();
console.log(collection);
this.channelList = collection;
console.log(this.channelList);
} catch (err) {
console.error(err);
}