CustomizableReaction

Represents a customizable interface of UiKitReaction. This can be used to hold a custom instance of a UiKitReaction.

You can directly assign an instance of UiKitReaction to the baseReaction property if you wish to hold on to the UiKitReaction, which then will automatically be parsed to each properties.

Otherwise, you can override each properties to provide a custom values regardless of the baseReaction property.

Since

1.2.0

See also

Properties

Link copied to clipboard

The implementation of the Uikit's UiKitReaction which will be assigned to each properties with it's own values. Defaults to EmptyReaction.

Link copied to clipboard
open override val count: Long

The count of the baseReaction if base is provided, otherwise EmptyReaction.count.

Link copied to clipboard
open override val hasCurrentUserReacted: Boolean

The has current user reacted of the baseReaction if base is provided, otherwise EmptyReaction.hasCurrentUserReacted.

Link copied to clipboard
open override val key: String

The key of the baseReaction if base is provided, otherwise EmptyReaction.key.

Link copied to clipboard

The sampled reacted user info list of the baseReaction if base is provided, otherwise EmptyReaction.sampledReactedUserInfoList.

Link copied to clipboard
open override val updatedAt: Long

The updated at of the baseReaction if base is provided, otherwise EmptyReaction.updatedAt.