IBotContext.Activity Property

Definition

The activity posted to bot.

public Microsoft.Bot.Connector.IActivity Activity { get; }
member this.Activity : Microsoft.Bot.Connector.IActivity
Public ReadOnly Property Activity As IActivity

Property Value

Remarks

This is the incoming activity in reactive cases. for proactive case, i.e. Conversation.ResumeAsync code path, it will be the IMessageActivity returned by GetPostToBotMessage().

Applies to