MDL-50853 mod_chat: New Web Service mod_chat_get_chat_users

This commit is contained in:
Juan Leyva 2015-07-16 11:58:07 +02:00
parent 1ca4cdf3e9
commit e4076a6e4c
3 changed files with 104 additions and 0 deletions

View file

@ -36,4 +36,12 @@ $functions = array(
'capabilities' => 'mod/chat:chat'
),
'mod_chat_get_chat_users' => array(
'classname' => 'mod_chat_external',
'methodname' => 'get_chat_users',
'description' => 'Get the list of users in the given chat session.',
'type' => 'read',
'capabilities' => 'mod/chat:chat'
),
);