1
0
mirror of https://github.com/nikoksr/notify.git synced 2024-11-28 08:39:13 +02:00
notify/service/dingding
Range Liu 5f4cb781ed
feat(service): Add DingTalk (#183)
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2022-02-07 09:07:37 +01:00
..
dingding.go feat(service): Add DingTalk (#183) 2022-02-07 09:07:37 +01:00
README-CH.md feat(service): Add DingTalk (#183) 2022-02-07 09:07:37 +01:00
README.md feat(service): Add DingTalk (#183) 2022-02-07 09:07:37 +01:00

dingtalk

Prerequisites

To use the service you need to apply for robot of DingTalk Group.

create robot of DingTalk group

  1. add custom rebot。
  2. look the safe setting, and select the sign(加签) Xnip2020-07-05_15-55-24.jpg

Usage

cfg := Config{
  token:  "dddd",
  secret: "xxx",
}

s := New(&cfg)
s.Send(context.Background(), "subject", "content")