NotifyNow - isVoiceCapable(文字列 userID)
ユーザーが音声通話を行うことができるかどうかを確認します。
| 名前 | タイプ | 説明 |
|---|---|---|
| userID | 文字列 | 音声通話対応の電話番号を確認する対象となるユーザーの sys_id です。 |
| タイプ | 説明 |
|---|---|
| ブーリアン | ユーザーが音声通話対応の電話番号を持っているかどうか。 |
gs.log('the user is able to send SMS messages (e.g. has a SMS device): ' +
((new SNC.NotifyNow().isVoiceCapable('someuserid')) ? 'yes' : 'no'));