Skip to content

Commit 7fa97fc

Browse files
committed
1 parent e89cce6 commit 7fa97fc

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

line-bot-model/src/main/java/com/linecorp/bot/model/message/TextMessage.java

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ public class TextMessage implements Message {
4444
Sender sender;
4545

4646
/**
47-
* Included LINE emoji information.
47+
* One or more LINE emoji.
48+
*
49+
* <p>Max: 20 LINE emoji
4850
*/
4951
@JsonInclude(Include.NON_NULL)
50-
List<Sticon> sticon;
52+
List<Emoji> emojis;
5153

5254
/**
5355
* Constructor without {@link #quickReply} parameter.
@@ -68,8 +70,8 @@ public static class TextMessageBuilder {
6870

6971
@Value
7072
@Builder(toBuilder = true)
71-
@JsonDeserialize(builder = Sticon.SticonBuilder.class)
72-
public static class Sticon {
73+
@JsonDeserialize(builder = Emoji.EmojiBuilder.class)
74+
public static class Emoji {
7375
/**
7476
* Index position for a character in text, with the first character being at position 0.
7577
*
@@ -83,19 +85,19 @@ public static class Sticon {
8385
/**
8486
* Product ID for a set of LINE emoji.
8587
*
86-
* @see <a href="https://d.line-scdn.net/r/devcenter/Default_sticon_list.pdf">LINE Available Sticon List</a>
88+
* @see <a href="https://d.line-scdn.net/r/devcenter/sendable_line_emoji_list.pdf">Sendable LINE emoji list</a>
8789
*/
8890
String productId;
8991

9092
/**
9193
* ID for a LINE emoji inside a set.
9294
*
93-
* @see <a href="https://d.line-scdn.net/r/devcenter/Default_sticon_list.pdf">LINE Available Sticon List</a>
95+
* @see <a href="https://d.line-scdn.net/r/devcenter/sendable_line_emoji_list.pdf">Sendable LINE emoji list</a>
9496
*/
95-
String sticonId;
97+
String emojiId;
9698

9799
@JsonPOJOBuilder(withPrefix = "")
98-
public static class SticonBuilder {
100+
public static class EmojiBuilder {
99101
// Providing builder instead of public constructor. Class body is filled by lombok.
100102
}
101103
}

0 commit comments

Comments
 (0)