Send message notification to Microsoft Team through REST API
Send message notification to Microsoft Team through REST API
Send message notification to Microsoft Team through REST API
Re: Send message notification to Microsoft Team through REST API
Currently, only [Bots](https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/bots/bot-conversations/bots-conv-proactive) can send 1:1 message to users.
[Create chatMessage](https://learn.microsoft.com/en-us/graph/api/chat-post-messages?view=graph-rest-beta&tabs=http) does not support application context so it has be an user sending the message. Also, you cannot create an new chat, you must use the list chats method to retrieve the Id of an **existing chat** before creating a chat message.
[Create chatMessage](https://learn.microsoft.com/en-us/graph/api/chat-post-messages?view=graph-rest-beta&tabs=http) does not support application context so it has be an user sending the message. Also, you cannot create an new chat, you must use the list chats method to retrieve the Id of an **existing chat** before creating a chat message.