发布于 2017-05-25 14:33:25
答案出现在对这一问题的评论中。
实质上:
controller.on('bot_message', function(bot, message) {
console.log('message.attachments: ' + message.attachments);
var attachment = message.attachments[0];
console.log('attachments.title: ' + attachment.title);
console.log('attachments.text: ' + attachment.text);
});https://stackoverflow.com/questions/44182697
复制相似问题