Language

CoreActivity Constructors

Definition

Overloads

Name Description
CoreActivity(CoreActivity)

Creates a new instance of the CoreActivity class by copying properties from another activity.

CoreActivity(String)

Creates a new instance of the CoreActivity class with the specified activity type. Defaults to Message.

CoreActivity(CoreActivity)

Creates a new instance of the CoreActivity class by copying properties from another activity.

protected CoreActivity(Microsoft.Teams.Core.Schema.CoreActivity activity);
new Microsoft.Teams.Core.Schema.CoreActivity : Microsoft.Teams.Core.Schema.CoreActivity -> Microsoft.Teams.Core.Schema.CoreActivity
Protected Sub New (activity As CoreActivity)

Parameters

activity
CoreActivity

The source activity to copy from.

Applies to

CoreActivity(String)

Creates a new instance of the CoreActivity class with the specified activity type. Defaults to Message.

[System.Text.Json.Serialization.JsonConstructor]
public CoreActivity(string type = "message");
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.Teams.Core.Schema.CoreActivity : string -> Microsoft.Teams.Core.Schema.CoreActivity
Public Sub New (Optional type As String = "message")

Parameters

type
String

The activity type. Defaults to "message".

Attributes

Applies to