Language

TeamsActivity.TenantId Property

Definition

The tenant an activity belongs to, read from the conversation first and from channel data second.

Reading only conversation.tenantId silently misses the ones that arrive as channelData.tenant depending on the activity. An empty tenant is treated as absent.

[System.Text.Json.Serialization.JsonIgnore]
public string? TenantId { get; }
[<System.Text.Json.Serialization.JsonIgnore>]
member this.TenantId : string
Public ReadOnly Property TenantId As String

Property Value

Attributes

Applies to