ホストご自分のボットプラットフォームに ボットのリブレの企業ボット台
Bot Libre Dev : How to get the conversation id in the script

RE: How to get the conversation id in the script

による admin 掲載 Dec 18 2018, 13:49

In a Self script the conversation is available in the "conversation" variable.

To access the conversation object's id you can use,

conversation.getId()

For a complete list of object methods see,
https://www.botlibre.com/manual-self.jsp#object-methods

Depending on the type of conversation, there are also other ids available. Chat conversations have a #gid attribute and some social media and IOT conversations have an #id attribute.

conversation.get(#gid)

conversation.get(#id)


Id: 25306940
掲載: Dec 18 2018, 13:49
更新: Dec 19 2018, 12:48
回答: 0
眺望: 2614, 今日の: 4, 週間: 5, 月: 10
0 0 0.0/5