![]() |
The Hubzilla
|
A class with chatroom related static methods. More...
Public Member Functions | |
| leave ($observer_xchan, $room_id, $client) | |
Static Public Member Functions | |
| static | create ($channel, $arr) |
| Creates a chatroom. More... | |
| static | destroy ($channel, $arr) |
| static | enter ($observer_xchan, $room_id, $status, $client) |
| static | roomlist ($uid) |
| static | list_count ($uid) |
| static | message ($uid, $room_id, $xchan, $text) |
| Create a chat message via API. More... | |
A class with chatroom related static methods.
|
static |
Creates a chatroom.
| array | $channel | |
| array | $arr |
Referenced by Zotlabs\Module\Chat\post().
|
static |
Referenced by Zotlabs\Module\Chat\post().
|
static |
Referenced by Zotlabs\Module\Chat\get().
| Zotlabs\Lib\Chatroom::leave | ( | $observer_xchan, | |
| $room_id, | |||
| $client | |||
| ) |
Referenced by Zotlabs\Module\Chat\get().
|
static |
Referenced by channel_apps().
|
static |
Create a chat message via API.
It is the caller's responsibility to enter the room.
| int | $uid | |
| int | $room_id | |
| string | $xchan | |
| string | $text |
|
static |
Referenced by Zotlabs\Module\Chat\get(), and Zotlabs\Widget\Chatroom_list\widget().