ConversationReference Class
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.
The conversationReference type contains a reference into another conversation. In its most minimal form, this reference may only contain the IDs of the target conversation. Implementers may wish to carry additional information in the conversationReference, such as the identity and roles of participants, and the ID of a specific activity within the conversation. Consumers of the conversationReference type are not provided any de facto guarantees about the validity or consistency of the IDs within the object; this is instead conferred by the sender who created the object.
The conversationReference type is frequently used to store a reference to a conversation so it can be later retrieved and used to continue a conversation.
public class ConversationReference
type ConversationReference = class
Public Class ConversationReference
- Inheritance
-
ConversationReference
Conversation |
Initializes a new instance of ConversationReference. |
Conversation |
Initializes a new instance of the ConversationReference class. |
Conversation |
Initializes a new instance of the ConversationReference class. |
Activity |
(Optional) ID of the activity to refer to. |
Bot |
Channel account information needed to route a message. |
Channel |
ID of the channel in which the referenced conversation exists. |
Conversation |
Conversation account represents the identity of the conversation within a channel. |
Locale |
(Optional) A BCP-47 locale name for the referenced conversation. |
Service |
(Optional) Service endpoint where operations concerning the referenced conversation may be performed. |
User |
Channel account information needed to route a message. |
Get |
Creates Activity from conversation reference as it is posted to bot. |
Product | Versions |
---|---|
Microsoft 365 Agents SDK .NET | 1 |