ADO.NET Provider for Microsoft Teams

Build 25.0.9434

UpdateChatMessage

Updates the content of an existing Teams chat message, allowing corrections or content changes.

Input

Name Type Required Description
ChatId String True Unique identifier of the chat that contains the message to be updated. Required to locate the correct conversation.
MessageId String True Unique identifier of the message to be updated within the specified chat.
ContentType String False Format of the message content. Supported values include text, html, and markdown.
Content String False New content to replace the existing message body. Must match the specified ContentType.
Importance String False Priority level of the message. Accepted values include low, normal, and high.
Mention String False Comma-separated MentionText and MentionUserId pairs. For multiple mentions, use semicolons to separate pairs. Example: MentionText1, MentionUserId1; MentionText2, MentionUserId2.
PolicyViolation String False JSON object defining the properties of a policy violation. Only applicable when the update is performed using application permissions.

Result Set Columns

Name Type Description
Success String Indicates whether the message update operation was successful. Returns true if completed without errors.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434