Package io.getstream.chat.android.models
See: Description
-
Class Summary Class Description AppSettings App settings, as they are configured in the dashboard. App The representation of the app, with its configurations. FileUploadConfig The configuration of file upload. InProgress State representing attachment upload progress. Failed State indicating that the attachment upload failed. UploadState Represents various states in attachment upload lifecycle. Builder Attachment Represents an attachment. BannedUser Model holding data related to a banned user. BannedUsersSort Sorter for banned users which takes into consideration the Date when the user was banned. Builder Channel Channel is where conversations take place between two or more chat users. ChannelConfig Configuration of a channel. ChannelData A class that only stores the channel data and not the channel state that changes a lot (for example messages, watchers, etc.). ChannelInfo A Channel object that contains less information. ChannelMute Represents a channel mute. ChannelUserRead Represents a user's last read and delivered status in a channel. ChatPreferences Per-category push toggles. ChatPreferenceToggle Per-category toggle for ChatPreferences. Command Config Model representing the configuration of a channel. ConnectionData Model holding data about the SDK connection. ConnectionState Represents possible states of the WebSocket connection. Device Device's information needed to register push notifications. Builder DraftMessage Model holding data about a draft message. DraftsSort Sorter for draft messages which takes into consideration the Date when the message was created. FilterObject Filter object that specifies requests for backend queries. NotInFilterObject AndFilterObject OrFilterObject NorFilterObject ContainsFilterObject AutocompleteFilterObject ExistsFilterObject NotExistsFilterObject EqualsFilterObject NotEqualsFilterObject GreaterThanFilterObject GreaterThanOrEqualsFilterObject LessThanFilterObject LessThanOrEqualsFilterObject InFilterObject DistinctFilterObject Flag Model holding data about a user flag. GroupedChannels A grouped channels response returned by ChatClient. GroupedChannelsGroup A channel group returned by ChatClient. GroupedChannelsGroupQuery Per-group request options for ChatClient. GuestUser Model holding data about a guest user. LinkPreview A data class that represents a link preview. Location Represents a user's location. Member Represents a channel member. MemberData Model holding data about a member. MemberInfo Model holding limited data about a channel member, as attached to a Message by Message.member. Builder Message Model holding data about a message. MessageModerationDetails Describes the details of a message which was moderated. MessageModerationAction The type of moderation performed to a message. Builder Builder for MessageReminder. MessageReminder Model holding data about a message reminder. MessageReminderInfo Model holding limited data about a message reminder. Result The list of messages, loaded either from offline storage or an API call. MessagesState Represents of possible state of messages for ChannelState. Moderation Model holding data for a message moderated by Moderation V2. ModerationAction The moderation action performed over the message. Mute Model holding data about a user mute. Builder Builder class for constructing a PendingMessage instance. PendingMessage Represents a message that is pending delivery or processing. Poll The Poll object represents a poll in a channel. Answer The Answer object represents an answer in a poll. Option The Option object represents an answer option in a poll. CreatePollParams The CreatePollParams object is used to configure a poll. PollOption Model representing the input required to create/update a poll option. Vote The Vote object represents a vote in a poll. PushMessage Model holding data for a push message. PushPreference Represents the push notification preference for a specific user or channel. PushPreferenceLevel Represents the possible levels for chat push notifications. QueryDraftsResult The result of a query for draft messages. QueryPollVotesResult Model representing the result of a 'Query Poll Votes' operation. QueryPollsResult Model representing the result of a 'Query Polls' operation. QueryReactionsResult Result of querying reactions on a message. QueryRemindersResult Model representing the result of a 'Query Message Reminders' operation. QueryThreadsResult Model representing the result of a 'Query Threads' operation. Builder Reaction Model representing a message reaction. Builder ReactionGroup A group of reactions of the same type. Role App-level role definition. RoleType Whether a role is assignable to a user or to a channel member. SearchMessagesResult Model representing a result of messages search operation. SearchWarning Represents a warning related to message search results. Thread Domain model for a thread. ThreadInfo Domain model for thread info. ThreadParticipant Model holding info about a thread participant. TimeDuration Represents the amount of time one instant of time is away from another instant. TypingEvent Model representing a typing event. TypingUser A user currently typing in a channel, together with their membership of that channel. UnreadCounts Represents the unread counts for channels and threads in a chat application. UnreadChannel Represents an unread channel. UnreadThread Represents an unread thread. UnreadChannelByType Represents the count of unread channels grouped by their type. UploadedFile Represents a successfully uploaded file. Builder User Represents a person who uses a chat and can perform chat operations like viewing channels or sending messages. UserBlock Represents a user block. UserGroup Named collection of users that can be mentioned together with @<name>.UserGroupMember Membership of a UserGroup. ChannelKt ChannelDataKt -
Object Summary Object Description Idle Idle state before attachment starts to upload. Success State indicating that the attachment was uploaded successfully AttachmentType Represents types of attachments. ChannelCapabilities Predefined list of channel capabilities constants. NoOpChannelTransformer A no-op implementation of ChannelTransformer. Companion CommandDefaults Contains the default command names supported by Stream Chat. Connected The client is connected to the WebSocket. Connecting The client is trying to connect to the WebSocket. Offline The client is permanently disconnected from the WebSocket. Companion Constants Represents constants used across all SDKs. Companion EventType https://getstream. NeutralFilterObject Filters Stream supports a limited set of filters for querying channels, users and members. Companion Companion NoOpMessageTransformer A no-op implementation of MessageTransformer. MessageType Represents types of messages. NoQueryActive The ChannelState is initialized but no query is currently running. Loading Indicates we are loading the first page of results. OfflineNoResults If we are offline and don't have channels stored in offline storage, typically displayed as an error condition. Companion Companion ReactionSortingBySumScore Sorts ReactionGroups by the sum of their scores. ReactionSortingByCount Sorts ReactionGroups by their count. ReactionSortingByLastReactionAt Sorts ReactionGroups by the date of their last reaction. ReactionSortingByFirstReactionAt Sorts ReactionGroups by the date of their first reaction. Companion Companion Companion NoOpUserTransformer A no-op implementation of MessageTransformer. -
Interface Summary Interface Description ChannelTransformer A transformer that can be used to transform a channel object before third parties can access it. CustomObject Marks a given object as an object which contains custom data (extraData). MessageTransformer A transformer that can be used to transform a message object before third parties can access it. ReactionSorting A comparator used to sort ReactionGroups. UserEntity Marks a class as a user entity. UserTransformer A transformer that can be used to transform a user object before third parties can access it. -
Enum Summary Enum Description PushProvider Push notifications provider type. InitializationState The state of initialization process. VotingVisibility Represents the visibility of the votes. SyncStatus If the message has been sent to the servers. UploadAttachmentsNetworkType An enumeration of various network types used as a constraint in upload attachments worker.