|
Whitebeam Template Reference Documentation
|
Chat Template
changeUserStatus()
Change status of user
Syntax
number = rb.chat.changeUserStatus(roomID, adminContactID, key, contactID, newFlags)
Parameters
The 'changeUserStatus' method takes 5 parameters:
Name | Type/Value | Range/Length | Description | roomID | number | | Required. ID of the room we want to poll | adminContactID | number | | Required. ID of the admin member making the change | key | string | | Required. A key associated with the admin user. | contactID | number | | Required. The ID of the member who is to have flags changed | newFlags | number | | Required. New flags for this member |
Results
The 'changeUserStatus' method returns number:
Type/Value | Range/Length | Description |
number |
  |
Change the flags associated with a user
|
Remarks This is an admin function to allow the conversation moderator to change the flags
on another user. The moderator must have the moderate or admin flag set. |
|
(loadtime : 301ms) |