แชร์ผ่าน


ICommandResultActivity Interface

Definition

Asynchronous external command result.

public interface ICommandResultActivity : Microsoft.Bot.Schema.IActivity
type ICommandResultActivity = interface
    interface IActivity
Public Interface ICommandResultActivity
Implements IActivity
Derived
Implements

Properties

ChannelData

Gets or sets channel-specific payload.

(Inherited from IActivity)
ChannelId

Gets or sets Channel this activity is associated with.

(Inherited from IActivity)
Conversation

Gets or sets Address for the conversation that this activity is associated with.

(Inherited from IActivity)
Entities

Gets or sets collection of Entity objects, each of which contains metadata about this activity. Each Entity object is typed.

(Inherited from IActivity)
From

Gets or sets Sender address.

(Inherited from IActivity)
Id

Gets or sets iD for the activity.

(Inherited from IActivity)
LocalTimestamp

Gets or sets the local date and time of the message, expressed in ISO-8601 format. For example, 2016-09-23T13:07:49.4714686-07:00.

(Inherited from IActivity)
Name

Gets or sets name of the command result.

Recipient

Gets or sets address that received the message.

(Inherited from IActivity)
ReplyToId

Gets or sets the original ID this activity is a response to.

(Inherited from IActivity)
ServiceUrl

Gets or sets service URL where responses to this activity should be sent.

(Inherited from IActivity)
Timestamp

Gets or sets timestamp when this message was sent (UTC).

(Inherited from IActivity)
Type

Gets or sets activity type.

(Inherited from IActivity)
Value

Gets or sets command result value. This will be of type CommandResultValue<T>.

Methods

ApplyConversationReference(ConversationReference, Boolean)

Updates an activity with the delivery information from an existing conversation reference.

(Inherited from IActivity)
AsContactRelationUpdateActivity()

Return IContactRelationUpdateActivity if this is a contactRelationUpdate activity, null otherwise.

(Inherited from IActivity)
AsConversationUpdateActivity()

Return IConversationUpdateActivity if this is a conversationUpdate activity, null otherwise.

(Inherited from IActivity)
AsEndOfConversationActivity()

Return IEndOfConversationActivity if this is an end-of-conversation activity, null otherwise.

(Inherited from IActivity)
AsEventActivity()

Returns IEventActivity if this is an event activity, null otherwise.

(Inherited from IActivity)
AsInstallationUpdateActivity()

Return IInstallationUpdateActivity if this is a installationUpdate activity, null otherwise.

(Inherited from IActivity)
AsInvokeActivity()

Returns IInvokeActivity if this is an invoke activity, null otherwise.

(Inherited from IActivity)
AsMessageActivity()

Return IMessageActivity if this is a message activity, null otherwise.

(Inherited from IActivity)
AsMessageDeleteActivity()

Returns IMessageDeleteActivity if this is a message delete activity, null otherwise.

(Inherited from IActivity)
AsMessageReactionActivity()

Returns IMessageDeleteActivity if this is a message reaction activity, null otherwise.

(Inherited from IActivity)
AsMessageUpdateActivity()

Returns IMessageUpdateActivity if this is a message update activity, null otherwise.

(Inherited from IActivity)
AsSuggestionActivity()

Returns IMessageDeleteActivity if this is a suggestion activity, null otherwise.

(Inherited from IActivity)
AsTypingActivity()

Return ITypingActivity if this is a typing activity, null otherwise.

(Inherited from IActivity)
GetChannelData<TypeT>()

Gets the channel data as strongly typed object.

(Inherited from IActivity)
GetConversationReference()

Gets a conversation reference from an activity.

(Inherited from IActivity)
TryGetChannelData<TypeT>(TypeT)

Try to get the channeldata as a strongly typed object.

(Inherited from IActivity)

Extension Methods

TeamsGetChannelId(IActivity)

Gets the Team's channel id from the current activity.

TeamsGetMeetingInfo(IActivity)

Gets the TeamsMeetingInfo object from the current activity.

TeamsGetSelectedChannelId(IActivity)

Gets the Team's selected channel id from the current activity.

TeamsGetTeamInfo(IActivity)

Gets the TeamsInfo object from the current activity.

TeamsGetTeamOnBehalfOf(IActivity)

Gets the Teams OnBehalfOf list from the current activity.

TeamsNotifyUser(IActivity, Boolean, String)

Configures the current activity to generate a notification within Teams.

TeamsNotifyUser(IActivity)

Configures the current activity to generate a notification within Teams.

GetLocale(IActivity)

Gets the locale for the activity.

SetLocale(IActivity, String)

Sets the locale for the activity.

Applies to