-
- All Implemented Interfaces:
public final class MessageExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static MessageenrichWithCid(Message $self, String cid)final static MessageupdateFailedMessage(Message $self, ChatError chatError)Updates a message that whose request (Edition/Delete/Reaction update...) has failed. final static MessageupdateMessageOnlineState(Message $self, Boolean isOnline)Update the online state of a message. -
-
Method Detail
-
enrichWithCid
final static Message enrichWithCid(Message $self, String cid)
-
updateFailedMessage
final static Message updateFailedMessage(Message $self, ChatError chatError)
Updates a message that whose request (Edition/Delete/Reaction update...) has failed.
- Parameters:
chatError- ChatError.
-
updateMessageOnlineState
final static Message updateMessageOnlineState(Message $self, Boolean isOnline)
Update the online state of a message.
- Parameters:
isOnline- Boolean.
-
-
-
-