Microsoft Graph API - Messages (Sending Message One to One)

Inho Kim 41 Reputation points
2020-07-22T05:16:14.663+00:00

Dear,

In the chat document of Microsoft graph api, it is difficult to understand which http url, method(in java) api and permission are required when sending a one-to-one message to a specific user.

In the case of channels, we have confirmed that methods and APIs for sending messages to a specific team channel are provided.

For example, POST /teams/{id}/channels/{id}/messages or for java, graphClient.teams("id").channels("id").messages().buildRequest().post( chatMessage)

I am wondering if a one-to-one message can be implemented in the same way as within the 1.0 version.
Thank you.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,449 questions
0 comments No comments
{count} votes

Accepted answer
  1. 2020-07-22T07:13:33.627+00:00

    For 1:1 or group chat messages use the Create chatMessage operation which is only supported in beta.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.