Package-level declarations
Properties
The fallback preview URL for Giphy attachments when io.getstream.chat.android.ui.common.utils.giphyInfo is not available.
The image URL to display for link attachment previews.
The navigation URL for link attachments.
Functions
Small extension function designed to add a scheme to URLs that do not have one so that they can be opened using android.content.Intent.ACTION_VIEW
Create the default channel list filter for the given user.
Generates a displayable name for the attachment. Builds the name using the following priority:
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 channel's last regular or system message if exists (including pending messages). Deleted and messages from shadow-banned users, are not taken into account.
Returns the subtitle for the poll based on the maximum number of votes allowed.
Finds a user in the list by their name or id.
Checks if the attachment is a link attachment.
Checks if the attachment is of any file type (file, video, audio or audio recording).
Checks if the channel is a direct messaging channel.
Checks if the attachment upload has failed.
Checks if the channel is a direct conversation between the current user and some other user.
Checks if the attachment is currently being uploaded to the server.
Saves to shared prefs that a permission has been requested.
Decides if we need to show the message footer (timestamp) below the message.