Start to show call members

This commit is contained in:
2020-04-10 16:55:31 +02:00
parent 22a19e0a32
commit 40c895870f
3 changed files with 59 additions and 0 deletions

View File

@ -197,6 +197,16 @@ function userInfo(userID, force = false) {
});
}
/**
* Get information about a user (new User class)
*
* @param {Number} userID target user id
* @returns {Promise<User>} Information about the user
*/
async function user(userID) {
return new User(await userInfo(userID))
}
/**
* Display message on browser console
*