CData Python Connector for Microsoft Teams

Build 25.0.9454

UpdateMessage

Revises an existing message in a Teams channel to reflect new information or correct errors.

Input

Name Type Required Description
TeamId String True Unique identifier of the Microsoft Teams team that contains the message to be updated.
ChannelId String True Unique identifier of the channel within the specified team where the message is located.
MessageId String True Unique identifier of the message to be updated within the specified channel.
ContentType String False Format of the message content. Accepted values include text, html, and markdown.
Content String False New content that replaces the current message body. Must be compatible with the specified ContentType.
Importance String False Priority level of the message. Valid 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 describing the properties of a policy violation. Required only when using application permissions and enforcing compliance rules.

Result Set Columns

Name Type Description
Success String Indicates whether the message update operation completed successfully. Returns true if the update was successful, otherwise false.

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