Class TextMessageContent.Emoji

  • Enclosing class:
    TextMessageContent

    public static final class TextMessageContent.Emoji
    extends java.lang.Object
    • Method Detail

      • getIndex

        public int getIndex()
        Index position for a character in text, with the first character being at position 0.

        The specified position must correspond to a $ character, which serves as a placeholder for the LINE emoji. If you specify a position that doesn't contain a $ character, the API returns HTTP 400 Bad request. See the text message example for details.

      • getLength

        public int getLength()
        The length of the LINE emoji string. For LINE emoji (hello), 7 is the length.
      • getProductId

        public java.lang.String getProductId()
        Product ID for a set of LINE emoji.
        See Also:
        Sendable LINE emoji list
      • getEmojiId

        public java.lang.String getEmojiId()
        ID for a LINE emoji inside a set.
        See Also:
        Sendable LINE emoji list
      • 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