A generic forwarding robots based on the URL called.
It was a generic webhook endpoint to call some notifications.
- larkEmail2openID: 通过邮箱获取openid
- larkAtTransform: 将一个@username文本转换为飞书的at标签
- larkAtTransform4All: 将一段文本中的所有@username替换为飞书的at标签
<at id={{ larkEmail2openID (printf "%s@%s" .user.username "company.com") }}></at>
使用飞书相关函数时必须设置以下环境变量
- LARK_APP_ID=cli_a4d34d4xxxxxxxx
- LARK_APP_SECRET=y9uUaXQqz71vf0cmxyxxxxxxxxxxxx