Excel Add-In for Microsoft Teams

Build 25.0.9434

DeleteChatMessage

Deletes a specific message from a Teams chat, identified by message ID and chat context.

Input

Name Type Required Description
UserId String True Unique identifier of the user attempting to delete the message. Used to verify permissions and track audit logs.
ChatId String True Unique identifier of the chat where the message was posted. Helps locate the message within the correct conversation.
MessageId String True Unique identifier of the message to be deleted. Required to accurately target the message within the chat.

Result Set Columns

Name Type Description
Success String Indicates whether the message was successfully deleted from the chat. Returns true if successful, false otherwise.

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