Forum Discussion

syamsundhar's avatar
syamsundhar
Copper Contributor
Jun 24, 2021

Post Image from a location to Teams channel using python

Hi All, 

 

I am trying to post an image(.png) to Microsoft teams channel using webhooks but i am seeing empty box in channel instead of image using below code. Please let me know if there any solution to fix this.

 

myMessageSection   = pymsteams.cardsection()
myMessagemessage = pymsteams.connectorcard("webhook url")
myMessageSection.activityImage(filepath)
myMessageSection.send()

 

No RepliesBe the first to reply

Resources