-
public class MessagePositionHandler.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static MessagePositionHandler.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final MessagePositionHandlerdefaultHandler(Long maxGroupTimeMillis)The default implementation of the MessagePositionHandler interface which can be taken as a reference when implementing a custom one. -
-
Method Detail
-
defaultHandler
final MessagePositionHandler defaultHandler(Long maxGroupTimeMillis)
The default implementation of the MessagePositionHandler interface which can be taken as a reference when implementing a custom one.
- Parameters:
maxGroupTimeMillis- The maximum time difference (in milliseconds) between consecutive messages from the same user before they are split into separate groups.
-
-
-
-