Skip to main content

Activity Type Reference

The application supports a number of activity types,

Core Activity Routes

RouteResponsibility
messageUser messages the app
typingSends a typing indicator to indicate the app got the user's message and is computing a response
deleteUserDataTriggered when a user requests their data to be deleted according to privacy regulations
mentionTriggered when the bot is @mentioned in a conversation

Configuration Routes

RouteInvoke PathResponsibility
config.openconfig/fetchWhen app is installed, the user may configure it via a dialog
config.submitconfig/submitConfiguration dialog submission
tab.opentab/fetchInitializes tab configuration experiences
tab.submittab/submitProcesses tab configuration submissions

Dialog Routes

RouteInvoke PathResponsibility
dialog.opentask/fetchOpens a dialog
dialog.submittask/submitProcesses dialog submissions

Authentication Routes

RouteInvoke PathResponsibility
signin.token-exchangesignin/tokenExchangeWhen a token exchange happens during SSO Auth
signin.verify-statesignin/verifyStateWhen a verification passes after OAuth

Message Interaction Routes

RouteInvoke PathResponsibility
message.executeactionableMessage/executeActionAn action was executed on a message
message.submitmessage/submitActionHandles message action submissions
card.actionadaptiveCard/actionTriggered when a user interacts with an Adaptive Card button or control

File Handling Routes

RouteResponsibility
file.consentManages file sharing permission workflows in Teams
file.consent.acceptTriggered when user accepts a file consent card for sharing
file.consent.declineTriggered when user declines a file consent card for sharing

Message Extension Routes

RouteInvoke PathResponsibility
message.ext.query-linkcomposeExtension/queryLinkA link unfurling request for an installed application
message.ext.anon-query-linkcomposeExtension/anonymousQueryLinkAn anonymous link unfurling request
message.ext.querycomposeExtension/queryMessage extension search query
message.ext.select-itemcomposeExtension/selectItemMessage extension item selection
message.ext.submitcomposeExtension/submitActionMessage extension action submission
message.ext.opencomposeExtension/fetchTaskMessage extension task fetching for an action
message.ext.query-settings-urlcomposeExtension/querySettingUrlRetrieves configuration URLs for message extensions
message.ext.settingcomposeExtension/settingProcesses message extension settings changes
message.ext.card-button-clickedcomposeExtension/onCardButtonClickedCard button click handling in message extensions
message.ext.editN/AProcesses edits to message extension previews
message.ext.sendN/AHandles sending of message extension content

Lifecycle Routes

RouteResponsibility
install.addTriggered when the app is newly installed to a team or chat
install.removeTriggered when the app is uninstalled from a team or chat
install.updateTriggered when the app is updated in a team or chat
handoff.actionManages handoffs from a different agent to your application

Conversation Update Routes

RouteResponsibility
membersAddedTriggered when new users join a team or are added to a chat where the bot is active
membersRemovedTriggered when users leave a team or are removed from a chat where the bot is active
channelCreatedTriggered when a new channel is created in a team where the bot is installed
channelRenamedTriggered when a channel is renamed in a team where the bot is installed
channelDeletedTriggered when a channel is deleted from a team where the bot is installed
channelRestoredTriggered when a previously deleted channel is restored
teamArchivedTriggered when a team is archived
teamDeletedTriggered when a team is deleted where the bot is installed
teamHardDeletedTriggered when a team is permanently deleted (beyond recovery)
teamRenamedTriggered when a team is renamed where the bot is installed
teamRestoredTriggered when a previously deleted team is restored
teamUnarchivedTriggered when a team is unarchived
messageUpdateTriggered when a message is edited in a conversation with the bot
messageDeleteTriggered when a message is deleted in a conversation with the bot

Meeting Routes

RouteInvoke PathResponsibility
meetingStartapplication/vnd.microsoft.meetingStartTriggered at the beginning of a Teams meeting where the bot is present
meetingEndapplication/vnd.microsoft.meetingEndTriggered at the end of a Teams meeting where the bot is present
meetingParticipantJoinapplication/vnd.microsoft.meetingParticipantJoinTriggered when participants join a Teams meeting where the bot is present
meetingParticipantLeaveapplication/vnd.microsoft.meetingParticipantLeaveTriggered when participants leave a Teams meeting where the bot is present
readReceiptapplication/vnd.microsoft.readReceiptTracks when messages are read by users