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