Forum Discussion
How to generate or create chat id of MS teams using Graph API ?
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/me/chats/
Request Body - {
"body": {
"content": " message "
}
}
for that, I need a chat Id
Deepak1265 Currently there are no API's to send a message to the user personally. You can only send messages in a channel using Graph API.
- Deepak1265Nov 29, 2019Copper Contributor
We can send a message to the user personally, I already did this using
https://docs.microsoft.com/en-us/graph/api/chat-post-messages?view=graph-rest-beta&tabs=http
- jayelbeeAug 24, 2020Copper Contributor
Deepak1265 Can messages be sent to a MS Teams group chat using Graph API?