Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 855 Bytes

File metadata and controls

27 lines (22 loc) · 855 Bytes
description Automatically generated file. DO NOT MODIFY
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.chats.item.messages.reply_with_quote.reply_with_quote_post_request_body import ReplyWithQuotePostRequestBody
from msgraph.generated.models.chat_message import ChatMessage
from msgraph.generated.models.item_body import ItemBody
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = ReplyWithQuotePostRequestBody(
	message_ids = [
		"1728088338580",
	],
	reply_message = ChatMessage(
		body = ItemBody(
			content = "Hello World",
		),
	),
)

result = await graph_client.chats.by_chat_id('chat-id').messages.reply_with_quote.post(request_body)