다음을 통해 공유


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)

에서 IActivityConversationReference 만듭니다.

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)

적용 대상