Function create_incoming_webhook

Source
pub async fn create_incoming_webhook(
    configuration: &Configuration,
    create_incoming_webhook_request: CreateIncomingWebhookRequest,
) -> Result<IncomingWebhook, Error<CreateIncomingWebhookError>>
Expand description

Create an incoming webhook for a channel. ##### Permissions manage_webhooks for the team the webhook is in. manage_others_incoming_webhooks for the team the webhook is in if the user is different than the requester.