Companion

public class Companion

Properties

Link copied to clipboard
public final static BaseChannel.Companion INSTANCE

Functions

Link copied to clipboard

Creates a paginated query object for the channel list.

Link copied to clipboard

Creates a paginated query for local history messages by timestamp.

Link copied to clipboard

Creates a paginated query for history messages.

Link copied to clipboard

Creates a paginated query for message read receipt users.

Link copied to clipboard

Creates a paginated query to search messages within a time range.

Link copied to clipboard

Creates a paginated query to search messages by user.

Link copied to clipboard

Creates a paginated query to search messages with filters.

Link copied to clipboard

Creates a paginated query for channels with unread @me mention messages.

Link copied to clipboard
public final Unit deleteChannels(List<ChannelIdentifier> identifiers, OperationHandler<Boolean> handler)

Deletes channels by their identifiers.

Link copied to clipboard
public final Unit getChannels(List<ChannelIdentifier> identifiers, OperationHandler<List<BaseChannel>> handler)

Gets channels by their identifiers.

Link copied to clipboard

Gets the unread message count filtered by notification (do-not-disturb) levels.

Link copied to clipboard

Gets the notification (do-not-disturb) level for a specific channel type.

Link copied to clipboard
public final Unit getMediaDownloadInfo(String mediaUrl, OperationHandler<DownloadInfo> handler)

Gets media file download information.

Link copied to clipboard

Gets a message by its ID.

Link copied to clipboard

Gets read receipt info by message identifiers.

Link copied to clipboard
public final Unit getPinnedChannels(List<ChannelType> channelTypes, OperationHandler<List<BaseChannel>> handler)

Gets pinned channels of the specified types.

Link copied to clipboard
public final Unit getTotalUnreadCount(OperationHandler<Integer> handler)

Gets the total unread message count across all channels.

Link copied to clipboard
public final Unit getUnreadChannels(List<ChannelType> channelTypes, OperationHandler<List<BaseChannel>> handler)

Gets channels that have unread messages.

Link copied to clipboard

Refreshes referenced messages by their IDs.

Link copied to clipboard

Searches channels by keyword.

Link copied to clipboard

Sets the notification level for a specific channel type.

Link copied to clipboard
public final Unit syncRemoteChannels(ErrorHandler handler)

Syncs remote channels to the local database.