Returns the current participant roster (including the bot).
The current participants.
Joins the Teams meeting and brings the bot online. Returns the bot's participant id + the call id.
Join parameters (join URL, thread id, bot name, auth).
The bot participant + call handles.
Leaves the meeting (terminates the bot's call leg) and releases SDK resources.
Mutes a participant (requires the bot be an organizer/presenter with the relevant policy).
The participant to mute.
Registers a callback for inbound raw per-participant audio frames (what the agent hears, carrying the speaker label for diarization). "Latest handler wins."
Invoked with each inbound audio frame.
Registers a callback for native raised-hand signals. "Latest handler wins."
⚠️ Teams raised-hand is partial over the calling-bot API: a clean per-participant event is not guaranteed on every tenant/build. The adapter wires this where the platform exposes it and the driver tolerates the signal never firing.
Invoked with the participant id and whether the hand is now raised.
Registers a callback fired when the meeting/call ends (organizer ended / call terminated). "Latest handler wins."
Invoked when the meeting has ended.
Registers a callback fired when a participant joins. "Latest handler wins."
Invoked with the participant who joined.
Registers a callback fired when a participant leaves. "Latest handler wins."
Invoked with the participant id that left.
Posts a message to the Teams meeting chat thread (everyone).
The chat message text.
Sends one raw PCM audio frame as the bot's outbound audio (the agent's voice into the meeting), over the ACS application-hosted-media outbound audio socket.
The PCM audio bytes to send.
The minimal Microsoft Teams calling-bot SDK surface the import('./teams-bridge').TeamsBridge depends on. Production binds this to the real ACS calling-bot / Graph cloud-communications API; tests inject a
FakeTeamsSdk.