Skip to content

Latest commit

 

History

History

ace-chat

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Teams Chat Card

Summary

This example shows how to build and ACE with multiple card and quick views allowing chat interaction with a Microsoft Teams channel.

Highlights:

  • multiple data fetches (list, details, sub-details [replies])
  • simple technique for polling
  • more complex state updates
  • sending data (POST requests)
  • built-in MS Graph client, and a simple module based wrapper
  • Graph delta API for messages
  • generator function as a pattern
  • more complex view templates, multiple cards and quick views
  • quickview push and pop
  • various actions and on action handling
  • adaptive card inputs

Screen Shots

CardView

CardView listing message count

MessageListView

MessageListView Quick View showing the list of messages in channel

MessageDetailView

MessageDetailView Quick View showing list of replies with ability to reply

Used SharePoint Framework Version

version

Applies to

Get your own free development tenant by subscribing to Microsoft 365 developer program

Prerequisites

None

Solution

Solution Author(s)
teams-chat-card Microsoft

Version history

Version Date Comments
1.0 August 22, 2021 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

  • Clone this repository
  • Ensure that you are at the solution folder
  • in the command-line run:
    • npm install
    • gulp serve --nobrowser

Edit the webpart and paste in the URL to a Team channel to enable the communications. You may have to refresh the page after pasting in the link.

References