Zum Hauptinhalt springen

TeamsBotReplyNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Load

Configuration for the TeamsBotReply pipeline node — sends a reply message into an ongoing Microsoft Teams conversation via the Bot Framework REST API (POST {serviceUrl}/v3/conversations/{conversationId}/activities). Outbound counterpart of FromTeamsBot@1.

public record TeamsBotReplyNodeConfiguration : NodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, IEquatable<TeamsBotReplyNodeConfiguration>

Inheritance Object → NodeConfiguration → TeamsBotReplyNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, IEquatable<TeamsBotReplyNodeConfiguration>

Remarks:

The bot credentials (App ID + secret) are read from a MicrosoftGraphConfiguration global configuration entity resolved by TeamsBotReplyNodeConfiguration.ServerConfiguration (its ClientId/ClientSecret double as the bot's App ID/secret — the concept assumes one shared Azure AD App Registration). The conversation routing values (serviceUrl, conversationId) originate from the inbound activity captured by FromTeamsBot@1 and are read from the data context via the *Path properties.

Properties​

ServerConfiguration​

WellKnownName of the MicrosoftGraphConfiguration that carries the bot App ID (ClientId) and secret (ClientSecret).

public string ServerConfiguration { get; set; }

Property Value​

String

ServiceUrlPath​

JSONPath to the Bot Framework serviceUrl of the originating conversation (captured by FromTeamsBot@1). Default $.Conversation.ServiceUrl.

public string ServiceUrlPath { get; set; }

Property Value​

String

ConversationIdPath​

JSONPath to the conversation id to reply into. Default $.Conversation.ConversationId.

public string ConversationIdPath { get; set; }

Property Value​

String

ReplyToActivityIdPath​

Optional JSONPath to the activity id to reply to (threaded reply). When omitted the message is posted as a new activity in the conversation. Default $.Conversation.ActivityId.

public string ReplyToActivityIdPath { get; set; }

Property Value​

String

MessageBodyPath​

JSONPath to the reply text (e.g. the AI answer or an upload acknowledgement).

public string MessageBodyPath { get; set; }

Property Value​

String

MessageBody​

Literal reply text (used when TeamsBotReplyNodeConfiguration.MessageBodyPath is empty or resolves to blank).

public string MessageBody { get; set; }

Property Value​

String

TimeoutSeconds​

HTTP request timeout in seconds. Default 30.

public int TimeoutSeconds { get; set; }

Property Value​

Int32

ContinueOnError​

Whether to continue pipeline execution if sending the reply fails. Default true.

public bool ContinueOnError { get; set; }

Property Value​

Boolean

Description​

public string Description { get; set; }

Property Value​

String

Constructors​

TeamsBotReplyNodeConfiguration()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public TeamsBotReplyNodeConfiguration()