Object CommunityChannel.Companion

    • Constructor Detail

    • Method Detail

      • getChannelsUnreadInfo

         final Unit getChannelsUnreadInfo(Array<String> channelIds, OperationHandler<List<CommunityUnreadInfo>> handler)

        Gets unread info for the specified community channels.

        Batch retrieves unread message count, mentioned message count, and do-not-disturb status for multiple community channels.

        Parameters:
        channelIds - Array of community channel IDs
        handler - Callback returning the list of channel unread info on success
      • getTotalUnreadCount

         final Unit getTotalUnreadCount(OperationHandler<Integer> handler)

        Gets the total unread message count across all community channels.

        Parameters:
        handler - Callback returning the total unread count on success
      • getTotalUnreadMentionedCount

         final Unit getTotalUnreadMentionedCount(OperationHandler<Integer> handler)

        Gets the total unread mentioned message count across all community channels.

        Parameters:
        handler - Callback returning the total unread mentioned count on success
      • checkRemoteMessages

         final Unit checkRemoteMessages(List<Message> messages, OperationHandler<BatchRemoteMessagesResult> handler)

        Validates remote community channel messages.

        Checks whether the given messages exist on the server.

        Parameters:
        messages - List of messages to validate
        handler - Callback returning matched and unmatched message lists on success