TeamsClient.GetWebhookTriggerRequestSchemaAsync 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.
Input schema for webhook trigger
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.WebhookTriggerSchema> GetWebhookTriggerRequestSchemaAsync(string messageType, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebhookTriggerRequestSchemaAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.WebhookTriggerSchema>
override this.GetWebhookTriggerRequestSchemaAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.WebhookTriggerSchema>
Public Overridable Function GetWebhookTriggerRequestSchemaAsync (messageType As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WebhookTriggerSchema)
Parameters
- messageType
- String
Message type
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Input schema for webhook trigger response.
Remarks
Discovery method used to populate dynamic parameter values at design time.