Language

BotApplication.ConversationClient Property

Definition

Gets the ConversationClient used to send, update, and delete activities in conversations.

public virtual Microsoft.Teams.Core.ConversationClient ConversationClient { get; }
member this.ConversationClient : Microsoft.Teams.Core.ConversationClient
Public Overridable ReadOnly Property ConversationClient As ConversationClient

Property Value

Remarks

This property is only available when the bot is constructed via dependency injection or with an explicit ConversationClient. It throws InvalidOperationException if accessed on a test instance created with the parameterless constructor.

Applies to