Forum Discussion
syamsundhar
Jun 25, 2021Copper Contributor
Post Image to Teams channel from local path 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()
6 Replies
- ThereseSolimenoFormer Employee
Hello syamsundhar Since there has been no response yet from this community, I recommend that you contact Microsoft support or answers.microsoft.com, where support agents are available to help troubleshoot issues until resolution.
- syamsundharCopper ContributorThanks ThereseSolimeno, just did that hope i will get response.
- SagarprajapatiCopper ContributorHey, did you get any response or work around