Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any example of a webhook for a pinned group bot #504

Open
zengerlin opened this issue Feb 3, 2024 · 1 comment
Open

Is there any example of a webhook for a pinned group bot #504

zengerlin opened this issue Feb 3, 2024 · 1 comment

Comments

@zengerlin
Copy link

zengerlin commented Feb 3, 2024

webhook_server: Mandatory if notification_type set to 'Webhook' or 'openhab' then this is the name of the server to connect to when sending webhook notifications.

webhook_port: Mandatory if notification_type set to 'Webhook' or 'openhab' then this is the port number to use when connecting to the webhook server. If this is not set, it will default to 8123.

webhook_path: Mandatory if notification_type set to 'Webhook' or 'openhab' then this is the path to use when connectiong to the webhook server. The path must start and end with a forward slash character. If this is not set, it will default to /api/webhook/. Openhab uses "/rest/items//".

webhook_id: Mandatory if notification_type set to 'Webhook' or 'openhab' then this is the Webhook ID to use. Openhab uses "state".

webhook_https: If this is set to 'True' then the Webhook or openhab notification URL will use HTTPS, otherwise it will default to HTTP.

webhook_body: Adapt to different services. Homeassistant uses "data" in the body of the webhook request, Discord uses "content", IFTTT uses "value1", etc.. Defaults to "data".

I tried to use DingTalk's webhook to push, but I tried several parameters but failed. Is there any example of DingTalk's webhook? Thank you.

@boredazfcuk
Copy link
Owner

I don't have an example as it's not a notification method I could/would use due to location. i added the capability, but it was tested by other users and I don't know what values they set unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants