Bitrix24\Im\Chat::sendTyping PHP Method

sendTyping() public method

send typing
public sendTyping ( integer $chatId ) : array
$chatId integer
return array
    public function sendTyping($chatId)
    {
        return $this->client->call('im.chat.sendTyping', array('chat_id' => (int) $chatId));
    }

Usage Example

Example #1
0
 /**
  * @covers \Bitrix24\Im\Chat::sendTyping
  */
 public function testSendTypingWithNullChatId()
 {
     $obChat = new Chat($this->bitrix24App);
     $obChat->sendTyping(null);
 }