original_string: public function setChatLog(string $chat_id, bool $skip_check = false)
      {
          // Check that the bot can write in that chat
          if (!$skip_check && $this->getChat($chat_id) !== false) {
              $this->chat_log = $chat_id;
          }
      }
code: public function setChatLog(string $chat_id, bool $skip_check = false)
      {
          // Check that the bot can write in that chat
          if (!$skip_check && $this->getChat($chat_id) !== false) {
              $this->chat_log = $chat_id;
          }
      }
code_tokens: public function setChatLog ( string $ chat_id , bool $ skip_check = false ) { // Check that the bot can write in that chat if ( ! $ skip_check && $ this -> getChat ( $ chat_id ) !== false ) { $ this -> chat_log = $ chat_id ; } }
docstring: \brief Set chat_id choosed for logging.
  @param string $chat_id Chat_id choosed.
  @param bool $skip_check Skip checking if the chat is valid (set true only if the bot is using webhook to get updates).
docstring_tokens: \ brief Set chat_id choosed for logging .