We added a new property to the Sticker message type of the Message webhook event object of the Messaging API.
# keywords property
Previously, developers were unable to understand the context of the stickers sent to the LINE Official Account by looking at the returned webhook event object. Now, with the keywords
property, you can.
{
"destination": "xxxxxxxxxx",
"events": [
{
"replyToken": "nHuyWiB7yP5Zw52FIkcQobQuGDXCTA",
"type": "message",
"mode": "active",
"timestamp": 1462629479859,
"source": {
"type": "user",
"userId": "U4af4980629..."
},
"message": {
"type": "sticker",
"id": "1501597916",
"stickerId": "52002738",
"packageId": "11537",
"stickerResourceType": "ANIMATION",
"keywords": ["cony","sally","Staring","hi","whatsup","line","howdy","HEY","Peeking","wave","peek","Hello","yo","greetings"]
}
}
]
}
Keywords experimental phase
The keywords
property is currently in an experimental phase and discontinuation or spec changes may occur in the future.
For more information, see the Sticker message type in the Messaging API reference.