title: Incoming Webhook for Private Messages in Microsoft Teams
body: <p>I can create an incoming webhook from a C# app or PS Script sending a JSON message to channels like MSFT doc explains.</p>
  
  <p>However, I want to use my incoming webhook for send JSON messages from my app to users (as Private Messages) like Slack allows.</p>
  
  <p>As far as I know this is not possible with MSFT Teams: <a href="https://dev.outlook.com/Connectors/Reference" rel="noreferrer">https://dev.outlook.com/Connectors/Reference</a></p>
  
  <p>But maybe you know any workaround or something like that to fix it.</p>
  
  <p>Thanks in advance :)</p>
  
  <p><strong>[EDITED]</strong> Code used to post messages into MSFT Team by C# App:</p>
  
  <pre><code>//Post a message using simple strings
  public void PostMessage(string text, string title)
  {
      Payload payload = new Payload()
      {
          Title = title
          Text = test
      };
      PostMessage(payload);
  }
  
  //Post a message using a Payload object
  public async void PostMessage(Payload payload)
  {
      string payloadJson = JsonConvert.SerializeObject(payload);
      var content = new StringContent(payloadJson);
      content.Headers.ContentType = new MediaTypeHeaderValue("application/json");
      var client = new HttpClient();
      uri = new Uri(GeneralConstants.TeamsURI);
      await client.PostAsync(uri, content);
  }
  </code></pre>