Interface Message

  • All Implemented Interfaces:

    
    public interface Message
    
                        

    Represents a message in the Scorpio API. This interface defines the essential properties of a message, including sender details and content.

    Since:

    1.0.0

    • 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
      abstract String getSenderId() The unique identifier of the message sender.
      abstract String getSenderName() The name of the message sender.
      abstract String getContent() The content of the message.
      abstract String getPlatform() The platform from which the message was sent.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getSenderId

         abstract String getSenderId()

        The unique identifier of the message sender.

        Since:

        1.0.0

      • getContent

         abstract String getContent()

        The content of the message.

        Since:

        1.0.0

      • getPlatform

         abstract String getPlatform()

        The platform from which the message was sent.

        Since:

        1.0.0