Forum Discussion

  • Deepak1265 It is not possible to generate a chat id for the chat that never happened. Could you please elaborate more on your scenario what exactly you are trying to achieve?

    • Deepak1265's avatar
      Deepak1265
      Copper Contributor

      Gousia_Begum 

      I want to chat with a new user. with whom I never chat before

      So that I want to send a message by using graph API

       

       

      POST -  https://graph.microsoft.com/beta/USER_ID/chats/CHAT_ID/messages  

      Request Body   - {

                                   "body": {
                                                   "content": " message "
                                                 }
                                  }

       

       for that, I need a chat Id

       

Resources