Skip to content

Commit 8c91b6b

Browse files
authored
Merge pull request #188 from line/add_line_emoji_examples
Add example for LINE emoji
2 parents 5f4b8c0 + ffa220d commit 8c91b6b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

examples/kitchensink/app.rb

+13
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,19 @@ def handle_message(event)
129129
reply_text(event, "Bot can't use profile API without user ID")
130130
end
131131

132+
when 'emoji'
133+
reply_content(event, {
134+
type: 'text',
135+
text: 'Look at this: $ It\'s a LINE emoji!',
136+
emojis: [
137+
{
138+
index: 14,
139+
productId: '5ac1bfd5040ab15980c9b435',
140+
emojiId: '001'
141+
}
142+
]
143+
})
144+
132145
when 'buttons'
133146
reply_content(event, {
134147
type: 'template',

0 commit comments

Comments
 (0)