message Grouping Position
fun UikitBaseMessage.messageGroupingPosition(prevMessage: UikitBaseMessage?, nextMessage: UikitBaseMessage?): MessageGroupingPosition
Returns the message grouping position based on the previous and next messages. If the message is not sent successfully, it returns MessageGroupingPosition.Single. If the message is the head of the group, it returns MessageGroupingPosition.Head. If the message is the tail of the group, it returns MessageGroupingPosition.Tail. If the message is the only message in the group, it returns MessageGroupingPosition.Single.
Receiver
The UikitBaseMessage to get the message grouping position.
Return
The message grouping position.
Since
1.0.0-beta.2
Parameters
prev Message
The previous message.
next Message
The next message.