Skip to content

v4.8.0

Compare
Choose a tag to compare
@sendbird-sdk-deployment sendbird-sdk-deployment released this 03 May 09:49
· 133 commits to master since this release

Features

PinnedMessageListQuery

You can now retrieve all pinned messages within a GroupChannel by the PinnedMessageListQuery.

  • Added PinnedMessage
  • Added PinnedMessageListQuery, PinnedMessageListQueryParams
  • Added createPinnedMessageListQuery(params:) for GroupChannel object
let queryParams = PinnedMessageListQueryParams { params in
    params.limit = 20
    // Set other properties in `params`
}
self.query = channel.createPinnedMessageListQuery(queryParams)
self.query.loadNextPage { messages, error in
    // Handle result
}

Improvements

  • Added URL encoding for userId with non-ascii characters