Class MessageKt

  • All Implemented Interfaces:

    
    public final class MessageKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Boolean isMine(Message $self, ChatClient chatClient)
      final static Boolean isMine(Message $self, User currentUser)
      final static Boolean isModerationFailed(Message $self, User currentUser)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • isMine

         final static Boolean isMine(Message $self, ChatClient chatClient)
        Returns:

        if the message was sent by current user.

      • isMine

         final static Boolean isMine(Message $self, User currentUser)
      • isModerationFailed

        @Deprecated(message = "Use the one from stream-chat-android-client", replaceWith = @ReplaceWith(imports = {"io.getstream.chat.android.client.utils.message.isModerationError"}, expression = "isModerationFailed(currentUserId)"), level = DeprecationLevel.WARNING) final static Boolean isModerationFailed(Message $self, User currentUser)
        Returns:

        if the message failed at moderation or not.