Nov 27 2019 03:02 AM
I got the list of chat Id's. I did a conversation in MS teams from GET - https://graph.microsoft.com/beta/me/chats/ using graph API (Graph Explorer).
I want to chat with a new user. with whom I never chat before
but I want to send a message by using graph API for that, I need a chat Id
POST - https://graph.microsoft.com/beta/USER_ID/chats/CHAT_ID/messages
Request Body - {
"body": {
"content": " your message "
}
}
So that I want to generate chat id with respect to new user with Whom I never chat before.
Is there any way to generate chat Id?
Dec 02 2019 10:47 PM