Activity 생성자

정의

오버로드

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)

Activity 클래스의 새 인스턴스를 초기화합니다.

Activity()

Activity 클래스의 새 인스턴스를 초기화합니다.

public Activity ();
Public Sub New ()

적용 대상

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)

Activity 클래스의 새 인스턴스를 초기화합니다.

public Activity (string type = default, string id = default, DateTimeOffset? timestamp = default, DateTimeOffset? localTimestamp = default, string serviceUrl = default, string channelId = default, Microsoft.Bot.Schema.ChannelAccount from = default, Microsoft.Bot.Schema.ConversationAccount conversation = default, Microsoft.Bot.Schema.ChannelAccount recipient = default, string textFormat = default, string attachmentLayout = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount> membersAdded = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount> membersRemoved = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.MessageReaction> reactionsAdded = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.MessageReaction> reactionsRemoved = default, string topicName = default, bool? historyDisclosed = default, string locale = default, string text = default, string speak = default, string inputHint = default, string summary = default, Microsoft.Bot.Schema.SuggestedActions suggestedActions = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Attachment> attachments = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Entity> entities = default, object channelData = default, string action = default, string replyToId = default, string label = default, string valueType = default, object value = default, string name = default, Microsoft.Bot.Schema.ConversationReference relatesTo = default, string code = default, DateTimeOffset? expiration = default, string importance = default, string deliveryMode = default, System.Collections.Generic.IList<string> listenFor = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.TextHighlight> textHighlights = default, Microsoft.Bot.Schema.SemanticAction semanticAction = default, string localTimezone = default);
new Microsoft.Bot.Schema.Activity : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Microsoft.Bot.Schema.ChannelAccount * Microsoft.Bot.Schema.ConversationAccount * Microsoft.Bot.Schema.ChannelAccount * string * string * System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount> * System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount> * System.Collections.Generic.IList<Microsoft.Bot.Schema.MessageReaction> * System.Collections.Generic.IList<Microsoft.Bot.Schema.MessageReaction> * string * Nullable<bool> * string * string * string * string * string * Microsoft.Bot.Schema.SuggestedActions * System.Collections.Generic.IList<Microsoft.Bot.Schema.Attachment> * System.Collections.Generic.IList<Microsoft.Bot.Schema.Entity> * obj * string * string * string * string * obj * string * Microsoft.Bot.Schema.ConversationReference * string * Nullable<DateTimeOffset> * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Bot.Schema.TextHighlight> * Microsoft.Bot.Schema.SemanticAction * string -> Microsoft.Bot.Schema.Activity
Public Sub New (Optional type As String = Nothing, Optional id As String = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional localTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional serviceUrl As String = Nothing, Optional channelId As String = Nothing, Optional from As ChannelAccount = Nothing, Optional conversation As ConversationAccount = Nothing, Optional recipient As ChannelAccount = Nothing, Optional textFormat As String = Nothing, Optional attachmentLayout As String = Nothing, Optional membersAdded As IList(Of ChannelAccount) = Nothing, Optional membersRemoved As IList(Of ChannelAccount) = Nothing, Optional reactionsAdded As IList(Of MessageReaction) = Nothing, Optional reactionsRemoved As IList(Of MessageReaction) = Nothing, Optional topicName As String = Nothing, Optional historyDisclosed As Nullable(Of Boolean) = Nothing, Optional locale As String = Nothing, Optional text As String = Nothing, Optional speak As String = Nothing, Optional inputHint As String = Nothing, Optional summary As String = Nothing, Optional suggestedActions As SuggestedActions = Nothing, Optional attachments As IList(Of Attachment) = Nothing, Optional entities As IList(Of Entity) = Nothing, Optional channelData As Object = Nothing, Optional action As String = Nothing, Optional replyToId As String = Nothing, Optional label As String = Nothing, Optional valueType As String = Nothing, Optional value As Object = Nothing, Optional name As String = Nothing, Optional relatesTo As ConversationReference = Nothing, Optional code As String = Nothing, Optional expiration As Nullable(Of DateTimeOffset) = Nothing, Optional importance As String = Nothing, Optional deliveryMode As String = Nothing, Optional listenFor As IList(Of String) = Nothing, Optional textHighlights As IList(Of TextHighlight) = Nothing, Optional semanticAction As SemanticAction = Nothing, Optional localTimezone As String = Nothing)

매개 변수

type
String

활동 유형을 포함합니다. 가능한 값은 'message', 'contactRelationUpdate', 'conversationUpdate', 'typing', 'endOfConversation', 'event', 'invoke', 'deleteUserData', 'messageUpdate', 'messageDelete', 'installationUpdate', 'messageReaction', 'suggestion', 'trace', 'handoff'입니다.

id
String

채널에서 활동을 고유하게 식별하는 ID를 포함합니다.

timestamp
Nullable<DateTimeOffset>

메시지가 전송된 날짜와 시간을 ISO-8601 형식으로 표현된 UTC로 포함합니다.

localTimestamp
Nullable<DateTimeOffset>

ISO-8601 형식으로 표현된 메시지를 현지 시간으로 보낸 날짜와 시간을 포함합니다. 예를 들어 2016-09-23T13:07:49.4714686-07:00입니다.

serviceUrl
String

채널의 서비스 엔드포인트를 지정하는 URL을 포함합니다. 채널별로 설정합니다.

channelId
String

채널을 고유하게 식별하는 ID를 포함합니다. 채널별로 설정합니다.

from
ChannelAccount

메시지의 발신자를 식별합니다.

conversation
ConversationAccount

활동이 속한 대화를 식별합니다.

recipient
ChannelAccount

메시지의 받는 사람을 식별합니다.

textFormat
String

텍스트 필드의 형식입니다. 기본값: markdown. 가능한 값은 'markdown', 'plain', 'xml'입니다.

attachmentLayout
String

여러 첨부 파일에 대한 레이아웃 힌트입니다. 기본값: list. 가능한 값은 'list', 'carousel'입니다.

membersAdded
IList<ChannelAccount>

대화에 추가된 멤버의 컬렉션입니다.

membersRemoved
IList<ChannelAccount>

대화에서 제거된 멤버의 컬렉션입니다.

reactionsAdded
IList<MessageReaction>

대화에 추가된 반응의 컬렉션입니다.

reactionsRemoved
IList<MessageReaction>

대화에서 제거된 반응의 컬렉션입니다.

topicName
String

대화의 업데이트된 토픽 이름입니다.

historyDisclosed
Nullable<Boolean>

채널의 이전 기록이 공개되는지 여부를 나타냅니다.

locale
String

텍스트 필드의 내용에 대한 로캘 이름입니다. 로캘 이름은 언어와 연결된 ISO 639 2자 또는 3자 문화권 코드와 국가 또는 지역과 연결된 ISO 3166 2자 하위 문화권 코드의 조합입니다. 로캘 이름은 유효한 BCP-47 언어 태그에도 해당할 수 있습니다.

text
String

메시지의 텍스트 내용입니다.

speak
String

읽을 텍스트입니다.

inputHint
String

메시지가 클라이언트에 전달된 후 봇이 사용자 입력을 수락, 예상 또는 무시할지 여부를 나타냅니다. 가능한 값은 'acceptingInput', 'ignoringInput', 'expectingInput'입니다.

summary
String

채널이 카드를 렌더링할 수 없는 경우 표시할 텍스트입니다.

suggestedActions
SuggestedActions

활동에 대해 제안된 작업입니다.

attachments
IList<Attachment>

활동에 대한 첨부 파일입니다.

entities
IList<Entity>

메시지에 언급된 엔터티를 나타냅니다.

channelData
Object

채널별 콘텐츠를 포함합니다.

action
String

contactRelationUpdate의 받는 사람이 보낸 사람의 연락처 목록에 추가되었거나 제거되었는지 여부를 나타냅니다.

replyToId
String

이 메시지가 회신인 메시지의 ID를 포함합니다.

label
String

활동에 대한 설명이 포함된 레이블입니다.

valueType
String

활동의 값 개체에 대한 형식입니다.

value
Object

활동과 연결된 값입니다.

name
String

호출 또는 이벤트 활동과 연결된 작업의 이름입니다.

relatesTo
ConversationReference

다른 대화 또는 활동에 대한 참조입니다.

code
String

대화가 종료된 이유를 나타내는 endOfConversation 활동에 대한 코드입니다. 가능한 값은 'unknown', 'completedSuccessfully', 'userCancelled', 'botTimedOut', 'botIssuedInvalidMessage', 'channelFailed'입니다.

expiration
Nullable<DateTimeOffset>

활동이 "만료된" 것으로 간주되고 받는 사람에게 표시되지 않아야 하는 시간입니다.

importance
String

활동의 중요도입니다. 가능한 값은 'low', 'normal', 'high'입니다.

deliveryMode
String

활동에 대한 받는 사람 대체 전송 경로에 신호를 보내는 전송 힌트입니다. 기본 배달 모드는 "기본값"입니다. 가능한 값은 'normal', 'notification', 'expectReplies', 'ephemeral'입니다.

listenFor
IList<String>

음성 및 언어 초기화 시스템에서 수신 대기해야 하는 구 및 참조 목록입니다.

textHighlights
IList<TextHighlight>

활동에 ReplyToId 값이 포함되어 있을 때 강조 표시할 텍스트 조각의 컬렉션입니다.

semanticAction
SemanticAction

이 요청과 함께 제공되는 선택적 프로그래밍 작업입니다.

localTimezone
String

IANA 표준 시간대 데이터베이스 형식으로 표현된 메시지의 현지 시간을 정의하는 데 사용되는 표준 시간대의 이름을 포함합니다. 예를 들어 America/Los_Angeles와 같습니다.

적용 대상