File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
examples/flask-kitchensink Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,25 @@ def handle_text_message(event):
115115 line_bot_api .reply_message (
116116 event .reply_token ,
117117 TextSendMessage (text = "Bot can't use profile API without user ID" ))
118+ elif text == 'emojis' :
119+ emojis = [
120+ {
121+ "index" : 0 ,
122+ "productId" : "5ac1bfd5040ab15980c9b435" ,
123+ "emojiId" : "001"
124+ },
125+ {
126+ "index" : 13 ,
127+ "productId" : "5ac1bfd5040ab15980c9b435" ,
128+ "emojiId" : "002"
129+ }
130+ ]
131+ text_message = TextSendMessage (text = '$ LINE emoji $' , emojis = emojis )
132+ line_bot_api .reply_message (
133+ event .reply_token , [
134+ text_message
135+ ]
136+ )
118137 elif text == 'quota' :
119138 quota = line_bot_api .get_message_quota ()
120139 line_bot_api .reply_message (
You can’t perform that action at this time.
0 commit comments