Generated by API Evangelist
Written by API Evangelist tooling for Microsoft Teams's API. It is a proposal applied on top of the contract, not a document Microsoft Teams publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for OData Service for namespace microsoft.graph Chats.chat…
version: 1.0.0
extends: openapi/microsoft-teams-chats-chatmessageinfo-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-15'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/chats/{chat-id}/lastMessagePreview'].get
update:
x-apievangelist-phrasing:
intent: Preview the last message in a chat
effect: read
questions:
- What does the last message in a chat say?
- Can I see a preview of the most recent chat message?
instructions:
- text: Get the last message preview for chat {chat}.
slots:
chat: path.chat-id
- text: Show the most recent message in chat {chat}.
slots:
chat: path.chat-id
method: generated
generated: '2026-11-15'
- target: $.paths['/chats/{chat-id}/lastMessagePreview'].delete
update:
x-apievangelist-phrasing:
intent: Clear the last message preview of a chat
effect: destructive
questions:
- Can I clear the last message preview from a chat?
- How do I remove the preview of the most recent chat message?
instructions:
- text: Delete the last message preview of chat {chat}.
slots:
chat: path.chat-id
- text: Clear the most recent message preview in chat {chat}.
slots:
chat: path.chat-id
method: generated
generated: '2026-11-15'
- target: $.paths['/chats/{chat-id}/lastMessagePreview'].patch
update:
x-apievangelist-phrasing:
intent: Update a chat's last message preview
effect: write
questions:
- How do I change what the last message preview shows for a chat?
- Can I edit the preview of the most recent chat message?
instructions:
- text: Update the last message preview of chat {chat} to {body}.
slots:
chat: path.chat-id
body: requestBody.body
- text: Set the most recent message preview in chat {chat} to {body}.
slots:
chat: path.chat-id
body: requestBody.body
method: generated
generated: '2026-11-15'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.