change messages in ms teams chat

Viewed 959

I am using the library to send messages to the chat.

import pymsteams
myTeamsMessage = pymsteams.connectorcard("<Microsoft Webhook URL>")
myTeamsMessage.title("Title")
myTeamsMessage.text("Text")
myTeamsMessage.send()

How can I access the sent message so that it can be changed over time.

2 Answers

As far as I can tell, this library does not support modifying your message but you can access what you sent by using myTeamsMessage.payload["text"].

Related