Package-level declarations
Types
A builder for the annotated message text.
A builder for the annotated message text.
The default implementation of PollSwitchItemFactory that holds the default poll switch items.ø
An interface that allows to return the desired horizontal alignment for a particular MessageItemState.
An interface that allows to generate a preview text for the given message.
An interface that allows the creation of message preview icons for message types.
An interface that allows to format the message text.
An interface that allows the creation of poll switch items for the creation screen.
An interface that allows to format the quoted message text.
Contains drawable resources for normal and selected reaction states.
Contains Painters for normal and selected states of the reaction icon.
An interface that allows the creation of reaction icons for reaction types.
An interface that allows to generate a title text for the given message.
Wrapper around the StorageHelper class, with some extra functionality that makes it easier to decouple the business logic and make it consistent.
A factory that creates new Coil ImageLoader instances.
A provider of CompositionLocal that returns the current ImageLoader for the composition.
Properties
A CompositionLocal that returns the current ImageLoader for the composition. If a local ImageLoader has not been provided, it returns the singleton instance of ImageLoader in Coil.
Functions
Provides a MessagesLazyListState that's tied to a given message list. This is the default behavior, where we keep the base scroll position of the list persisted at all times, while the thread scroll state is always new, whenever we enter a thread.
Creates a MessagesLazyListState that is remembered across compositions. Changes to the provided initial values will not result in the state being recreated or changed in any way if it has already been created.
Wrapper around the coil.compose.rememberAsyncImagePainter that plugs in our LocalStreamImageLoader singleton that can be used to customize all image loading requests, like adding headers, interceptors and similar.
Wrapper around the CoilImage that plugs in our LocalStreamImageLoader singleton that can be used to customize all image loading requests, like adding headers, interceptors and similar.
Inherited functions
Returns channel's last regular or system message if exists. Deleted and silent messages, as well as messages from shadow-banned users, are not taken into account.
Returns a string describing the elapsed time since the user was online (was watching the channel).
Returns a string describing the member status of the channel: either a member count for a group channel or the last seen text for a direct one-to-one conversation with the current user.
Returns a list of users that are members of the channel excluding the currently logged in user.
Filters the read status of each person other than the target user.
Checks if the channel is distinct.
Checks if the channel is a direct conversation between the current user and some other user.
Applies the given mirroring scaleX based on the layoutDirection that's currently configured in the UI.