BotApplication.ConversationClient Property
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.
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.