Function __global->chatroom_ban_to
Definitions
sources/chat2.php
- Ban a member from a chatroom.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $member_id | MEMBER | No | No | required parameter | N/A | N/A | The member to ban |
| $id | AUTO_LINK | No | No | required parameter | N/A | N/A | The chatroom ID |
Preview
Code (PHP)
/**
* Ban a member from a chatroom.
*
* @param MEMBER $member_id The member to ban
* @param AUTO_LINK $id The chatroom ID
*/
function chatroom_ban_to(int $member_id, int $id)
* Ban a member from a chatroom.
*
* @param MEMBER $member_id The member to ban
* @param AUTO_LINK $id The chatroom ID
*/
function chatroom_ban_to(int $member_id, int $id)

