We are on Zapier. Kindly explore the same. You can select Office365 as trigger app and Teamchat as action app. This will enable your Office365 integration in minutes.
In case you want to write custom integration, kindly use our Bot SDK and do so. We do not have any code that we can share.