i needing to get total message of each channel to show it in dashboard CMS.
I was found api View total number of messages in a channel
but it seem to use for a specify channel.
Any suggestion, please?
Welcome to Sendbird community!
- You can first retrieve the list of channels using,
- (List group channels | Chat Platform API | Sendbird Docs) - For group channels
- List open channels | Chat Platform API | Sendbird Docs - For open channels
- Then use the API to view total number of messages in each channel iteratively.