Class TextMessageContent.Emoji
- java.lang.Object
-
- com.linecorp.bot.model.event.message.TextMessageContent.Emoji
-
- Enclosing class:
- TextMessageContent
public static final class TextMessageContent.Emoji extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TextMessageContent.Emoji.EmojiBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextMessageContent.Emoji.EmojiBuilder
builder()
boolean
equals(java.lang.Object o)
java.lang.String
getEmojiId()
ID for a LINE emoji inside a set.int
getIndex()
Index position for a character in text, with the first character being at position 0.int
getLength()
The length of the LINE emoji string.java.lang.String
getProductId()
Product ID for a set of LINE emoji.int
hashCode()
TextMessageContent.Emoji.EmojiBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static TextMessageContent.Emoji.EmojiBuilder builder()
-
toBuilder
public TextMessageContent.Emoji.EmojiBuilder toBuilder()
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-