Module webhooks_api

Source

Enums§

CreateIncomingWebhookError
struct for typed errors of method create_incoming_webhook
CreateOutgoingWebhookError
struct for typed errors of method create_outgoing_webhook
DeleteIncomingWebhookError
struct for typed errors of method delete_incoming_webhook
DeleteOutgoingWebhookError
struct for typed errors of method delete_outgoing_webhook
GetIncomingWebhookError
struct for typed errors of method get_incoming_webhook
GetIncomingWebhooksError
struct for typed errors of method get_incoming_webhooks
GetOutgoingWebhookError
struct for typed errors of method get_outgoing_webhook
GetOutgoingWebhooksError
struct for typed errors of method get_outgoing_webhooks
RegenOutgoingHookTokenError
struct for typed errors of method regen_outgoing_hook_token
UpdateIncomingWebhookError
struct for typed errors of method update_incoming_webhook
UpdateOutgoingWebhookError
struct for typed errors of method update_outgoing_webhook

Functions§

create_incoming_webhook
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.
create_outgoing_webhook
Create an outgoing webhook for a team. ##### Permissions manage_webhooks for the team the webhook is in. manage_others_outgoing_webhooks for the team the webhook is in if the user is different than the requester.
delete_incoming_webhook
Delete an incoming webhook given the hook id. ##### Permissions manage_webhooks for system or manage_webhooks for the specific team or manage_webhooks for the channel.
delete_outgoing_webhook
Delete an outgoing webhook given the hook id. ##### Permissions manage_webhooks for system or manage_webhooks for the specific team or manage_webhooks for the channel.
get_incoming_webhook
Get an incoming webhook given the hook id. ##### Permissions manage_webhooks for system or manage_webhooks for the specific team or manage_webhooks for the channel.
get_incoming_webhooks
Get a page of a list of incoming webhooks. Optionally filter for a specific team using query parameters. ##### Permissions manage_webhooks for the system or manage_webhooks for the specific team.
get_outgoing_webhook
Get an outgoing webhook given the hook id. ##### Permissions manage_webhooks for system or manage_webhooks for the specific team or manage_webhooks for the channel.
get_outgoing_webhooks
Get a page of a list of outgoing webhooks. Optionally filter for a specific team or channel using query parameters. ##### Permissions manage_webhooks for the system or manage_webhooks for the specific team/channel.
regen_outgoing_hook_token
Regenerate the token for the outgoing webhook. ##### Permissions manage_webhooks for system or manage_webhooks for the specific team or manage_webhooks for the channel.
update_incoming_webhook
Update an incoming webhook given the hook id. ##### Permissions manage_webhooks for system or manage_webhooks for the specific team or manage_webhooks for the channel.
update_outgoing_webhook
Update an outgoing webhook given the hook id. ##### Permissions manage_webhooks for system or manage_webhooks for the specific team or manage_webhooks for the channel.