Easiest way to create push alerts to Teams

%3CLINGO-SUB%20id%3D%22lingo-sub-3105953%22%20slang%3D%22en-US%22%3EEasiest%20way%20to%20create%20push%20alerts%20to%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3105953%22%20slang%3D%22en-US%22%3EHi%2C%20my%20company%20has%20just%20moved%20over%20from%20WebEx%20chat.%20Through%20that%20platform%20it%20was%20very%20easy%20to%20setup%20an%20api%20in%20Python%20to%20push%20messages%20to%20the%20platform.%20I%E2%80%99m%20trying%20to%20do%20something%20in%20Teams%20and%20it%20seems%20more%20complex.%20It%20also%20seems%20more%20complicated%20to%20get%20a%20bot%20userid.%20Is%20there%20an%20easy%20way%20to%20send%20messages%20using%20an%20api%20from%20my%20own%20chat%20handle%20to%20my%20chat%20handle%20in%20teams%3F%20If%20so%2C%20is%20there%20any%20documentation%20available%20for%20doing%20that%3F%20Thank%20you!%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3105953%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3110497%22%20slang%3D%22en-US%22%3ERe%3A%20Easiest%20way%20to%20create%20push%20alerts%20to%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3110497%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1294962%22%20target%3D%22_blank%22%3E%40BertGilbert%3C%2FA%3E%26nbsp%3B-%26nbsp%3BYou%20can%20go%20through%20the%20following%20APIs%20to%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fgraph-api%2Fimport-messages%2Fimport-external-messages-to-teams%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EUse%20Microsoft%20Graph%20to%20import%20external%20platform%20messages%20to%20Teams%20-%20Teams%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fchatmessage-post%3Fview%3Dgraph-rest-1.0%26amp%3Btabs%3Dhttp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESend%20chatMessage%20in%20a%20channel%20or%20a%20chat%20-%20Microsoft%20Graph%20v1.0%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EPlease%20let%20us%20know%20if%20you%20need%20anything.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22none%22%3EThanks%2C%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EMeghana%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22none%22%3E----------------------------------------------------------------------------------------------------------%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22none%22%3EIf%20the%20response%20is%20helpful%2C%20please%20click%20%22**Mark%20as%20Best%20Response**%22%20and%20like%20it.%20You%20can%20share%20your%20feedback%20via%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDevSupportFeedback)%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EMicrosoft%20Teams%20Developer%20Feedback%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22none%22%3E%26nbsp%3Blink.%20Click%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDevCommunityEscalationForm%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ehere%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22none%22%3E%26nbsp%3Bto%20escalate.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor
Hi, my company has just moved over from WebEx chat. Through that platform it was very easy to setup an api in Python to push messages to the platform. I’m trying to do something in Teams and it seems more complex. It also seems more complicated to get a bot userid. Is there an easy way to send messages using an api from my own chat handle to my chat handle in teams? If so, is there any documentation available for doing that? Thank you!
2 Replies

@BertGilbert - You can go through the following APIs to

  1. Use Microsoft Graph to import external platform messages to Teams - Teams | Microsoft Docs
  2. Send chatMessage in a channel or a chat - Microsoft Graph v1.0 | Microsoft Docs

Please let us know if you need anything.

 

Thanks, 

Meghana

---------------------------------------------------------------------------------------------------------- 

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

@BertGilbert - Could you please confirm if your issue has resolved or still looking for any help?