Forum Discussion

lastramarcelo94's avatar
lastramarcelo94
Copper Contributor
Jul 18, 2024

send messages to a team's chat using graph api on python

Hi!

Id like to receive some help.

I want to know it its possible to send a message to a chat gruop. The object its to code a python script which among other things it sends a message to a concrect group on teams (just a chat group, not a channel). I've all permissions required but until now i've not accomplished what i want to. 

If what i want its possible, do i have to authenticate everytime i run the code or there's some way to auto-authenticate?

I've tried using this guide https://learn.microsoft.com/es-es/graph/api/chatmessage-get?view=graph-rest-1.0&tabs=python

but could not to get nothing.

 

If someone could help me with any code example i'll be gratefull

 

1 Reply

Resources