mirror of
https://github.com/syuilo/ai.git
synced 2024-11-09 23:48:01 +00:00
sendMessageで(公開範囲)ダイレクトに送信するようにする (#121)
This commit is contained in:
parent
f0ceeb693b
commit
341b0eadb4
|
@ -372,8 +372,9 @@ export default class 藍 {
|
||||||
*/
|
*/
|
||||||
@autobind
|
@autobind
|
||||||
public sendMessage(userId: any, param: any) {
|
public sendMessage(userId: any, param: any) {
|
||||||
return this.api('messaging/messages/create', Object.assign({
|
return this.post(Object.assign({
|
||||||
userId: userId,
|
visibility: 'specified',
|
||||||
|
visibleUserIds: [userId],
|
||||||
}, param));
|
}, param));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue