sendMessageで(公開範囲)ダイレクトに送信するようにする

This commit is contained in:
taichanne30 2023-08-31 11:40:38 +09:00
parent f0ceeb693b
commit e58a02261b

View file

@ -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));
}