Q&A

How to Send Sticker Respond to Users?

Your Docs: Sticker messages You can use stickers to make your bot more expressive and engaging for your users. To send a sticker, include the package ID and sticker ID of the sticker in a message object. For a list of stickers that can be sent with the Messaging API, see the sticker list.

Fyi, above docs is not enough (not good enough) for me as beginner developer. What I need is the exact code usage example such below :

// event handler async function handleEvent(event) { if (event.type !== 'message' || event.message.type !== 'text') { return Promise.resolve(null); }

if(messages){ var reply = "Hello World"]; }

const echo = { type: 'text', text: reply }; return client.replyMessage(event.replyToken, echo); }

  • 0
  • 0
  • 3324
  • twitter facebook
本当によろしいですか? question.vm