Activity Constructors

Definition

Overloads

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)

Activity()

public Activity ();
Public Sub New ()

Applies to

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)

public Activity (string type = default, string id = default, DateTimeOffset? timestamp = default, DateTimeOffset? localTimestamp = default, string serviceUrl = default, string channelId = default, Microsoft.Bot.Connector.ChannelAccount from = default, Microsoft.Bot.Connector.ConversationAccount conversation = default, Microsoft.Bot.Connector.ChannelAccount recipient = default, string textFormat = default, string attachmentLayout = default, System.Collections.Generic.IList<Microsoft.Bot.Connector.ChannelAccount> membersAdded = default, System.Collections.Generic.IList<Microsoft.Bot.Connector.ChannelAccount> membersRemoved = default, System.Collections.Generic.IList<Microsoft.Bot.Connector.MessageReaction> reactionsAdded = default, System.Collections.Generic.IList<Microsoft.Bot.Connector.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.Connector.SuggestedActions suggestedActions = default, System.Collections.Generic.IList<Microsoft.Bot.Connector.Attachment> attachments = default, System.Collections.Generic.IList<Microsoft.Bot.Connector.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.Connector.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.Connector.TextHighlight> textHighlights = default, Microsoft.Bot.Connector.SemanticAction semanticAction = default, string localTimezone = default, string callerId = default);
new Microsoft.Bot.Connector.Activity : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Microsoft.Bot.Connector.ChannelAccount * Microsoft.Bot.Connector.ConversationAccount * Microsoft.Bot.Connector.ChannelAccount * string * string * System.Collections.Generic.IList<Microsoft.Bot.Connector.ChannelAccount> * System.Collections.Generic.IList<Microsoft.Bot.Connector.ChannelAccount> * System.Collections.Generic.IList<Microsoft.Bot.Connector.MessageReaction> * System.Collections.Generic.IList<Microsoft.Bot.Connector.MessageReaction> * string * Nullable<bool> * string * string * string * string * string * Microsoft.Bot.Connector.SuggestedActions * System.Collections.Generic.IList<Microsoft.Bot.Connector.Attachment> * System.Collections.Generic.IList<Microsoft.Bot.Connector.Entity> * obj * string * string * string * string * obj * string * Microsoft.Bot.Connector.ConversationReference * string * Nullable<DateTimeOffset> * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Bot.Connector.TextHighlight> * Microsoft.Bot.Connector.SemanticAction * string * string -> Microsoft.Bot.Connector.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, Optional callerId As String = Nothing)

Parameters

type
String
id
String
localTimestamp
Nullable<DateTimeOffset>
serviceUrl
String
channelId
String
conversation
ConversationAccount
recipient
ChannelAccount
textFormat
String
attachmentLayout
String
membersAdded
IList<ChannelAccount>
membersRemoved
IList<ChannelAccount>
reactionsAdded
IList<MessageReaction>
reactionsRemoved
IList<MessageReaction>
topicName
String
historyDisclosed
Nullable<Boolean>
locale
String
text
String
speak
String
inputHint
String
summary
String
suggestedActions
SuggestedActions
attachments
IList<Attachment>
entities
IList<Entity>
channelData
Object
action
String
replyToId
String
label
String
valueType
String
value
Object
name
String
code
String
expiration
Nullable<DateTimeOffset>
importance
String
deliveryMode
String
listenFor
IList<String>
textHighlights
IList<TextHighlight>
semanticAction
SemanticAction
localTimezone
String
callerId
String

Applies to