userAdd() public method

public userAdd ( $chatId, array $arNewUsers = [] ) : array
$chatId
$arNewUsers array
return array
Example #1
0
 /**
  * @covers \Bitrix24\Im\Chat::userAdd
  */
 public function testUserAddWithEmptyArray()
 {
     $obChat = new Chat($this->bitrix24App);
     $obChat->userAdd($this->defaultChatId, array());
 }