Quickblox javascript消息中的自定义参数

Quickblox javascript消息中的自定义参数,javascript,quickblox,Javascript,Quickblox,我正在向Quickblox api发送带有自定义参数的聊天信息 message: { body: 'something', date_sent: 'some date', dialog_id: 'dialog id', extension: { save_to_history: 1, }, markable: 1, type: dialog.type === 3 ? 'chat' : 'groupchat', customParameter: 'this

我正在向Quickblox api发送带有自定义参数的聊天信息

message: {
  body: 'something',
  date_sent: 'some date',
  dialog_id: 'dialog id',
  extension: {
    save_to_history: 1,
  },
  markable: 1,
  type: dialog.type === 3 ? 'chat' : 'groupchat',
  customParameter: 'this is custom param',
},
我将像这样发送给quickblox

QB.chat.send(jidOrOpponentId, message);
当我在其他浏览器上收到该消息时,它没有我的自定义参数

有人知道这个自定义参数是否应该返回给我吗?如果不是,那是干什么用的?
我阅读了文档,其中有一个关于自定义参数的部分,但没有解释它们的用途以及quickblox是否应返回它们作为响应。

尝试将
自定义参数
放入
扩展名
对象:

var msg = {
  type: 'chat',
  body: 'How are you today?',
  extension: {
    save_to_history: 1,
    customParameter: 'Custom parameter'
  }
}; 

var opponentId = 78;
QB.chat.send(opponentId, msg);