次の方法で共有


Activity クラス

定義

public class Activity : Microsoft.Bot.Connector.IContactRelationUpdateActivity, Microsoft.Bot.Connector.IConversationUpdateActivity, Microsoft.Bot.Connector.IEndOfConversationActivity, Microsoft.Bot.Connector.IEventActivity, Microsoft.Bot.Connector.IHandoffActivity, Microsoft.Bot.Connector.IInstallationUpdateActivity, Microsoft.Bot.Connector.IInvokeActivity, Microsoft.Bot.Connector.IMessageDeleteActivity, Microsoft.Bot.Connector.IMessageReactionActivity, Microsoft.Bot.Connector.IMessageUpdateActivity, Microsoft.Bot.Connector.ISuggestionActivity, Microsoft.Bot.Connector.ITraceActivity, Microsoft.Bot.Connector.ITypingActivity
type Activity = class
    interface IActivity
    interface IConversationUpdateActivity
    interface IContactRelationUpdateActivity
    interface IInstallationUpdateActivity
    interface IMessageActivity
    interface IMessageUpdateActivity
    interface IMessageDeleteActivity
    interface IMessageReactionActivity
    interface ISuggestionActivity
    interface ITraceActivity
    interface ITypingActivity
    interface IEndOfConversationActivity
    interface IEventActivity
    interface IInvokeActivity
    interface IHandoffActivity
Public Class Activity
Implements IContactRelationUpdateActivity, IConversationUpdateActivity, IEndOfConversationActivity, IEventActivity, IHandoffActivity, IInstallationUpdateActivity, IInvokeActivity, IMessageDeleteActivity, IMessageReactionActivity, IMessageUpdateActivity, ISuggestionActivity, ITraceActivity, ITypingActivity
継承
Activity
実装

コンストラクター

Activity()
Activity(String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, String, ChannelAccount, ConversationAccount, ChannelAccount, String, String, IList<ChannelAccount>, IList<ChannelAccount>, IList<MessageReaction>, IList<MessageReaction>, String, Nullable<Boolean>, String, String, String, String, String, SuggestedActions, IList<Attachment>, IList<Entity>, Object, String, String, String, String, Object, String, ConversationReference, String, Nullable<DateTimeOffset>, String, String, IList<String>, IList<TextHighlight>, SemanticAction, String, String)

フィールド

ContentType

プロパティ

Action
AttachmentLayout
Attachments
CallerId
ChannelData
ChannelId
Code
Conversation
DeliveryMode
Entities
Expiration
From
HistoryDisclosed
Id
Importance
InputHint
Label
ListenFor
Locale
LocalTimestamp
LocalTimezone
MembersAdded
MembersRemoved
Name
Properties
ReactionsAdded
ReactionsRemoved
Recipient
RelatesTo
ReplyToId
SemanticAction
ServiceUrl
Speak
SuggestedActions
Summary
Text
TextFormat
TextHighlights
Timestamp
TopicName
Type
Value
ValueType

メソッド

AsContactRelationUpdateActivity()
AsConversationUpdateActivity()
AsEndOfConversationActivity()
AsEventActivity()
AsInstallationUpdateActivity()
AsInvokeActivity()
AsMessageActivity()
AsMessageDeleteActivity()
AsMessageReactionActivity()
AsMessageUpdateActivity()
AsSuggestionActivity()
AsTraceActivity()
AsTypingActivity()
CreateContactRelationUpdateActivity()
CreateConversationUpdateActivity()
CreateEndOfConversationActivity()
CreateEventActivity()
CreateHandoffActivity()
CreateInvokeActivity()
CreateMessageActivity()
CreateReply(String, String)
CreateTraceActivityReply(Activity, String, String, Object, String)
CreateTypingActivity()
GetActivityType(String)
GetChannelData<TypeT>()
GetMentions()
HasContent()
IsActivity(String)
TryGetChannelData<TypeT>(TypeT)

拡張メソッド

ToConversationReference(IActivity)

から IActivityを作成しますConversationReference

AddHeroCard<T>(IMessageActivity, String, IEnumerable<T>, IEnumerable<String>)

オプションからボタンを生成し、メッセージに追加します。

AddKeyboardCard<T>(IMessageActivity, String, IEnumerable<T>, IEnumerable<String>)

オプションからボタンを生成し、メッセージに追加します。

CreateOAuthReplyAsync(IActivity, String, String, String, Boolean)
GetActivityType(IActivity)
GetChannelData<TypeT>(IActivity)
GetOAuthClient(IActivity, MicrosoftAppCredentials, String, DelegatingHandler[])
GetOAuthClient(IActivity, String, String, String, DelegatingHandler[])
GetStateClient(IActivity, MicrosoftAppCredentials, String, DelegatingHandler[])
GetStateClient(IActivity, String, String, String, DelegatingHandler[])
IsTeamsVerificationInvoke(IActivity)
IsTokenResponseEvent(IActivity)
MentionsId(IMessageActivity, String)
MentionsRecipient(IMessageActivity)
ReadTokenResponseContent(IActivity)
RemoveMentionText(IMessageActivity, String)
RemoveRecipientMention(IMessageActivity)
TryGetChannelData<TypeT>(IActivity, TypeT)

適用対象