Interface: TeamsChatProps
Props for TeamsChat.
Properties
Section titled “Properties”agentId?
Section titled “agentId?”
optionalagentId?:string
Mastra agent to answer with. Defaults to the server’s default agent.
className?
Section titled “className?”
optionalclassName?:string
Extra classes merged onto the root container.
endpoint?
Section titled “endpoint?”
optionalendpoint?:string
Conversation endpoint. Defaults to the Bot Framework messaging endpoint
(/api/teams/messages) - the SAME route a real Teams channel calls, which
is why this surface is a faithful preview rather than a parallel
implementation.
That route only answers in the HTTP response when the server enables its
development bypass (allowUnauthenticated); against a real bot
registration it validates a Bot Service JWT and delivers replies through
the Connector API, so this component cannot drive it. Point at
/api/teams/activity for a server that keeps /messages locked down.
starters?
Section titled “starters?”
optionalstarters?:string[]
Prompts offered as one-tap starters while the transcript is empty.
userName?
Section titled “userName?”
optionaluserName?:string
Display name of the local user, shown on their messages.