message
4 TopicsCalling adaptive card from the channel message level using the button (Message created from Tab).
Hello, I am struggling with one problem, I am adding a message to a channel using a Tab I created, I would like the message to contain a button that would trigger an adaptive card popup. This popup would need to dynamically fetch data from an external API. For any answers, thank you1.2KViews0likes4CommentsSend a message to all users (like a broadcast)
I would like to inform our users about very urgent things (ie please disconnect from the system), and the best way to do that would be to send a chat message to all of them maybe via powershell or graph api? Is there currently a way to do that? I know I could create an ORG wide group and post in there...Solved195KViews1like20CommentsHow to send a stream video address in a message?
Greetings, I want send message Microsoft Stream video link. In Teams App, paste the MS Stream Video address into the message entry window. This image is automatically created. I want to send this using Graph API. I tried with https://docs.microsoft.com/en-us/graph/api/resources/attachment?view=graph-rest-beta, but I failed with message that id is not present in body. var channel = await graphClient.Teams[pClassId].PrimaryChannel .Request() .GetAsync(); var chatMessage = new ChatMessage { Body = new ItemBody { ContentType = BodyType.Html, Content = "" }, Attachments = new List<ChatMessageAttachment>() { new ChatMessageAttachment { ContentType = "reference", ContentUrl = streamurl } } }; resultChatMsg = await graphClient.Teams[pClassId].Channels[channel.Id].Messages .Request() .AddAsync(chatMessage); How can I implement it? Thank you for any help.1.4KViews0likes1Comment