TeamsClient.PostFeedNotificationAsync Method

Definition

Post a feed notification

public virtual System.Threading.Tasks.Task PostFeedNotificationAsync(string postAs, string notificationType, Azure.Connectors.Sdk.Teams.Models.DynamicPostFeedNotificationRequest input, System.Threading.CancellationToken cancellationToken = default);
abstract member PostFeedNotificationAsync : string * string * Azure.Connectors.Sdk.Teams.Models.DynamicPostFeedNotificationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.PostFeedNotificationAsync : string * string * Azure.Connectors.Sdk.Teams.Models.DynamicPostFeedNotificationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function PostFeedNotificationAsync (postAs As String, notificationType As String, input As DynamicPostFeedNotificationRequest, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

postAs
String

Post as

notificationType
String

Notification type

input
DynamicPostFeedNotificationRequest

The request body.

cancellationToken
CancellationToken

Cancellation token.

Returns

Remarks

Posts a notification to a user's activity feed linking to a chat or team.

Applies to