|
@ -18,10 +18,10 @@ const ServiceType = "slackapi" |
|
|
// hits WebhookURL.
|
|
|
// hits WebhookURL.
|
|
|
//
|
|
|
//
|
|
|
// Example JSON request:
|
|
|
// Example JSON request:
|
|
|
// {
|
|
|
|
|
|
// "room_id": "!someroomid:some.domain.com",
|
|
|
|
|
|
// "message_type": "m.text"
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
// {
|
|
|
|
|
|
// "room_id": "!someroomid:some.domain.com",
|
|
|
|
|
|
// "message_type": "m.text"
|
|
|
|
|
|
// }
|
|
|
type Service struct { |
|
|
type Service struct { |
|
|
types.DefaultService |
|
|
types.DefaultService |
|
|
webhookEndpointURL string |
|
|
webhookEndpointURL string |
|
|