StreamingActivityInput Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Outbound streaming activity chunk used by TeamsStreamingWriter. Has type "typing" to satisfy the Teams streaming API, but carries text content that accumulates into the final response.
public class StreamingActivityInput : Microsoft.Teams.Apps.Schema.TeamsActivityInput
type StreamingActivityInput = class
inherit TeamsActivityInput
Public Class StreamingActivityInput
Inherits TeamsActivityInput
- Inheritance
Properties
| Name | Description |
|---|---|
| ChannelData |
Gets or sets the Teams-specific channel data associated with this outbound activity. (Inherited from TeamsActivityInput) |
| Entities |
Gets or sets the entities associated with this activity. (Inherited from TeamsActivityInput) |
| Id |
Gets or sets the unique identifier for the activity. (Inherited from CoreActivityInput) |
| Properties |
Gets the extension data dictionary for storing additional properties not defined in the schema. (Inherited from CoreActivityInput) |
| Recipient |
Gets or sets the recipient account for this activity. Populated when the send targets a specific recipient (for example, a targeted message visible only to the inbound sender). (Inherited from CoreActivityInput) |
| ReplyToId |
Gets or sets the id of the activity this activity is a reply to. When set, the send is threaded under the referenced activity. (Inherited from CoreActivityInput) |
| StreamInfo |
Gets or sets the stream info entity for this streaming activity. |
| SuggestedActions |
Gets or sets the suggested actions for the message. (Inherited from TeamsActivityInput) |
| Text |
Gets or sets the text content of the streaming chunk. |
| TextFormat |
Gets or sets the text format. See TextFormats for common values. |
| Type |
Gets or sets the type of the activity. See ActivityType for common values. (Inherited from CoreActivityInput) |
Methods
| Name | Description |
|---|---|
| ToJson() |
Serializes the current activity to a JSON string using the outbound streaming serializer context. |
| ToJson<T>(JsonTypeInfo<T>) |
Serializes the current activity to a JSON string using the specified JsonTypeInfo<T> for source-generated serialization. (Inherited from CoreActivityInput) |