Class TextMessage

  • All Implemented Interfaces:
    Message

    public final class TextMessage
    extends java.lang.Object
    implements Message
    • Constructor Detail

      • TextMessage

        public TextMessage​(java.lang.String text)
        Constructor without quickReply parameter.

        If you want use QuickReply, please use builder() instead.

      • TextMessage

        public TextMessage​(@NonNull
                           @NonNull java.lang.String text,
                           QuickReply quickReply)
    • Method Detail

      • getText

        @NonNull
        public @NonNull java.lang.String getText()
      • getEmojis

        public java.util.List<TextMessage.Emoji> getEmojis()
        One or more LINE emoji.

        Max: 20 LINE emoji

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object