Skip to content

[Microsoft Graph v1.0]: teams message get #2678

@garrytrinder

Description

@garrytrinder

The teams message get command currently uses the beta/teams endpoint in its implementation, this should be updated to use the v1.0/teams endpoint.

const requestOptions: any = {
url: `${this.resource}/beta/teams/${args.options.teamId}/channels/${args.options.channelId}/messages/${args.options.messageId}`,
headers: {
accept: 'application/json;odata.metadata=none'
},
responseType: 'json'
};

beta docs: https://docs.microsoft.com/en-us/graph/api/chatmessage-get?view=graph-rest-beta&tabs=http
v1.0 docs: https://docs.microsoft.com/en-us/graph/api/chatmessage-get?view=graph-rest-1.0&tabs=http

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions