WithTimeDifference

data class WithTimeDifference(val timeDifferenceMillis: Long = DEFAULT_FOOTER_TIME_DIFF_MILLIS) : MessageFooterVisibility

The message footer will be visible to items that are sent inside a specified time duration.

Parameters

timeDifferenceMillis

Time duration after which we show the message footer.

Constructors

Link copied to clipboard
constructor(timeDifferenceMillis: Long = DEFAULT_FOOTER_TIME_DIFF_MILLIS)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard
fun MessageFooterVisibility.shouldShowMessageFooter(message: Message, isLastMessageInGroup: Boolean, nextMessage: Message?): Boolean

Decides if we need to show the message footer (timestamp) below the message.