title: c++ telegram bot. new line in sendMessage using cURL library
body: <p>I didn't find something helping me  in the web so i'll ask you for help.</p>
  
  <p>I try sending a Message with several line breaks.</p>
  
  <p>e.g.:</p>
  
  <p>Hey! 
  Welcome to the channel!</p>
  
  <p>So my code:</p>
  
  <pre><code>int main(){
  
     CURL *handle
     handle = curl_easy_init();
  
     string url = "https://api.telegram.org/&lt;bottoken&gt;/sendMessage?chat_id-idnbr&amp;text=Hey\nwhatsup"
  
     curl_easy_setopt(handle , CURLOPT_URL, url.c_str());
  
     curl_easy_perform(handle);
  }
  </code></pre>
  
  <p>Now if i set it like this i get the CURLcode 3 CURL_URL_MALFORMAT (URL not formatted right) </p>
  
  <p>Any idea what to do? </p>