First, see the Activities overview documentation to learn about what activities types are available in Bot Framework.
This document will discuss what Bot Framework activity types that Web Chat is prepared to handle as a client. To see documentation on which activity types are supported by different channels, please see the Activities by Channel discussion.
Although the Direct Line channel and Web Chat channel support the following activity types, Web Chat is only designed to support the following activities:
Direct Line Channel supported Activity | Channel |
Activity.type |
---|---|---|
message |
✔️ | |
conversationUpdate |
✔️ | |
event |
✔️ | |
event.TokenResponse |
✔️ | |
endOfConversation |
||
typing |
✔️ | |
installationUpdate |
✔️ |
installationUpdate
,event.TokenResponse
andconversationUpdate
are activities sent between the bot and the channel. The channel does not send these events to Web Chat.endOfConversation
is not currently handled or rendered by Web Chat. See the Web Chat conversation on Activity Types to learn more.
When developing your bot's web page, you may discover that the bot sends an activity type that needs to be supported by Web Chat. Luckily, it is possible to create renderers for different activities through the activityMiddleware
. To learn more, check out the following tutorials:
Note: We do not recommend creating custom activity types. Instead, please use the event
activity type.