Sprog

TeamsActivityExtensions Class

Definition

Provides extension methods on IActivity for interacting with Microsoft Teams-specific data.

public static class TeamsActivityExtensions
type TeamsActivityExtensions = class
Public Module TeamsActivityExtensions
Inheritance
TeamsActivityExtensions

Methods

Name Description
TeamsEnableFeedbackLoop(IActivity, String)

Adds the Teams feedback loop flag to the current activity's ChannelData. The ChannelData must be null before calling this method; returns false if ChannelData is already set.

TeamsGetChannelId(IActivity)

Gets the Team's channel id from the current activity.

TeamsGetMeetingInfo(IActivity)

Gets the TeamsMeetingInfo object from the current activity.

TeamsGetSelectedChannelId(IActivity)

Gets the Team's selected channel id from the current activity.

TeamsGetTeamInfo(IActivity)

Gets the TeamsInfo object from the current activity.

Applies to