-
Notifications
You must be signed in to change notification settings - Fork 0
Webhook
Dmitry edited this page Apr 13, 2024
·
1 revision
property | type |
---|---|
channel_id |
string |
params |
array |
reason |
string |
cache_ttl |
?int |
$webhook = $api->webhook->createWebhook(channel_id: 'channel_id', params: [], reason: 'reason');
property | type |
---|---|
channel_id |
string |
cache_ttl |
?int |
$webhook = $api->webhook->getChannelWebhooks(channel_id: 'channel_id');
property | type |
---|---|
guild_id |
string |
cache_ttl |
?int |
$webhook = $api->webhook->getGuildWebhooks(guild_id: 'guild_id');
property | type |
---|---|
webhook_id |
string |
cache_ttl |
?int |
$webhook = $api->webhook->getWebhook(webhook_id: 'webhook_id');
property | type |
---|---|
webhook_id |
string |
webhook_token |
string |
cache_ttl |
?int |
$webhook = $api->webhook->getWebhookWithToken(webhook_id: 'webhook_id', webhook_token: 'webhook_token');
property | type |
---|---|
webhook_id |
string |
params |
array |
reason |
string |
cache_ttl |
?int |
$webhook = $api->webhook->modifyWebhook(webhook_id: 'webhook_id', params: [], reason: 'reason');
property | type |
---|---|
webhook_id |
string |
webhook_token |
string |
params |
array |
reason |
string |
cache_ttl |
?int |
$webhook = $api->webhook->modifyWebhookWithToken(webhook_id: 'webhook_id', webhook_token: 'webhook_token', params: [], reason: 'reason');
property | type |
---|---|
webhook_id |
string |
reason |
string |
cache_ttl |
?int |
$webhook = $api->webhook->deleteWebhook(webhook_id: 'webhook_id', reason: 'reason');
property | type |
---|---|
webhook_id |
string |
webhook_token |
string |
reason |
string |
cache_ttl |
?int |
$webhook = $api->webhook->deleteWebhookWithToken(webhook_id: 'webhook_id', webhook_token: 'webhook_token', reason: 'reason');
property | type |
---|---|
webhook_id |
string |
webhook_token |
string |
params |
array |
cache_ttl |
?int |
$webhook = $api->webhook->executeWebhook(webhook_id: 'webhook_id', webhook_token: 'webhook_token', params: []);
property | type |
---|---|
webhook_id |
string |
webhook_token |
string |
params |
array |
cache_ttl |
?int |
$webhook = $api->webhook->executeSlackCompatibleWebhook(webhook_id: 'webhook_id', webhook_token: 'webhook_token', params: []);
property | type |
---|---|
webhook_id |
string |
webhook_token |
string |
params |
array |
cache_ttl |
?int |
$webhook = $api->webhook->executeGitHubCompatibleWebhook(webhook_id: 'webhook_id', webhook_token: 'webhook_token', params: []);
property | type |
---|---|
webhook_id |
string |
webhook_token |
string |
message_id |
string |
params |
array |
cache_ttl |
?int |
$webhook = $api->webhook->getWebhookMessage(webhook_id: 'webhook_id', webhook_token: 'webhook_token', message_id: 'message_id', params: []);
property | type |
---|---|
webhook_id |
string |
webhook_token |
string |
message_id |
string |
params |
array |
cache_ttl |
?int |
$webhook = $api->webhook->editWebhookMessage(webhook_id: 'webhook_id', webhook_token: 'webhook_token', message_id: 'message_id', params: []);