看来我只能在分配范围 ALL 的情况下发送消息。如果我将机器人的权限限制为 READ_CONVERSATIONS ,则它会失败:
{"name":"app","hostname":"ldap-01-fth01ti-de","pid":1740,"level":50,"msg":"[APP]: { [错误:内部错误with Client Credentials Grant authentication]\n 代码: 'SDK_ERROR',\n message: 'Internal error with Client Credentials Grant authentication',\n stack: 'Error\n at Error (native)\n at Error.circuit.Error ( /home/ldapuser/bin/node_modules/circuit-sdk/circuit.js:309:22)\n 在 /home/ldapuser/bin/node_modules/circuit-sdk/circuit.js:46269:32\n 在 process._tickCallback (node.js:438:9)' }","time":"2018-07-24T08:14:27.930Z","v":0}
如果使用授予类型 CLIENT_CREDENTIALS,这些范围是否应该用于限制机器人功能?