Community Remote Messages Query
community channel specified sub-channel Remote History message pagination query object.
Get community channel specified sub-channel Remote history message, Supports Pagination. channelId and subChannelId From CommunityChannel Instance Get.
Via CommunityChannel.createRemoteMessagesQuery Create instance, Not cannot be constructed directly.
Usage Example:
val params = CommunityRemoteMessagesQueryParams().apply {
pageSize = 30
}
val query = communityChannel.createRemoteMessagesQuery(params)
query.loadNextPage { messages, error ->
if (error == null && messages != null) {
// Handle remote history messages
}
}Content copied to clipboard