getBannedUsers();
Call this method to delete to a Channel Message.
JavaScript
const bannedUsers = await sdk.getBannedUsers();
Response Properties
Properties | Description | Type |
---|---|---|
bannedUsers | Array of Objects containing Banned users | Array |
eventId | id of the event | String |
Banned User Objects
Properties | Description | Type |
---|---|---|
_id | id of the banned user event | String |
userId | id of the banned user | String |
username | username of the banned user | String |
ipAddress | ipAddress of the banned user | String |
Sample Response
JSON Sample response getBannedUsers
{
"bannedUsers": [
{
"_id": "6328767bf0357f1c648791b6",
"userId": "6328765af0357f1c648791b4",
"username": "bad person",
"ipAddress": null
}
],
"eventId": "71bd8a41-0d9e-4415-86f4-53626737aa04"
}