Functions

Link copied to clipboard
abstract fun onResult(messages: List<PinnedMessage>?, e: SendbirdException?)

Called when operation is done. If done successfully, a list of PinnedMessage instance will be passed as messages. If no pinned message is found, this list will be empty. This list will be paginated and if there are more elements to retrieve, PinnedMessageListQuery.hasNext will be false. If error occurred, e will be non-null.