Skip to main content

getBannedUsers();

Call this method to delete to a Channel Message.

JavaScript

const bannedUsers = await sdk.getBannedUsers();

Response Properties

PropertiesDescriptionType
bannedUsersArray of Objects containing Banned usersArray
eventIdid of the eventString

Banned User Objects

PropertiesDescriptionType
_idid of the banned user eventString
userIdid of the banned userString
usernameusername of the banned userString
ipAddressipAddress of the banned userString

Sample Response

JSON Sample response getBannedUsers
{
"bannedUsers": [
{
"_id": "6328767bf0357f1c648791b6",
"userId": "6328765af0357f1c648791b4",
"username": "bad person",
"ipAddress": null
}
],
"eventId": "71bd8a41-0d9e-4415-86f4-53626737aa04"
}