TeamsClient.PostFeedNotificationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Remarks
Posts a notification to a user's activity feed linking to a chat or team.