I’m wondering if it’s possible to filter messages with a certain custom_type
.
The search API doesn’t seem to work without providing a query
parameter.
Hey @GoGo7,
Message search does not currently support filtering messages by custom_type
.
Additionally, query
is a required parameter and can not be left out.
An alternative you could use is to list the messages using the GET /v3/{channel_type}/{channel_url}/messages
endpoint.
The list message feature is limited to a specific channel, and if you wanted to search across multiple channels, you would need to make multiple queries.
You can find out more about the endpoint here: https://sendbird.com/docs/chat/v3/platform-api/guides/messages#2-list-messages.
~Ian
2 Likes
Thanks for the quick reply. This should do!
1 Like