Class MessageFooterVisibilityKt
-
- All Implemented Interfaces:
public final class MessageFooterVisibilityKt
-
-
Method Summary
Modifier and Type Method Description final static BooleanshouldShowMessageFooter(MessageFooterVisibility $self, Message message, Boolean isLastMessageInGroup, Message nextMessage)Decides if we need to show the message footer (timestamp) below the message. -
-
Method Detail
-
shouldShowMessageFooter
final static Boolean shouldShowMessageFooter(MessageFooterVisibility $self, Message message, Boolean isLastMessageInGroup, Message nextMessage)
Decides if we need to show the message footer (timestamp) below the message.
- Parameters:
message- The current message for which we are checking whether we need to show the footer for.isLastMessageInGroup- Is the message at the bottom of the group.nextMessage- The message that comes after the current message.- Returns:
If the message footer should be visible or not.
-
-
-
-