docs: function clickSendMessage() {
      var currentText = $('#message_text').val().trim();
  
      if (!currentText.length) {
          return;
      }
  
      $('#message_text').val('').focus();
  
      sendMessage(currentText, null);
  }