Giter Club home page Giter Club logo

notify's Introduction

Notify

Golang 推送通知 SDK (钉钉群机器人、飞书群机器人、企业微信群机器人、邮件)。

支持的平台

安装

环境要求

  • go 1.19+

引入本包

go get -u github.com/mohuani/notify

使用

钉钉机器人

前置准备

请先阅读一遍官方的文档 钉钉群机器人,熟悉里面的各种名词概念。

支持的消息类型

  • text类型
  • link类型
  • markdown类型
  • ActionCard类型
  • FeedCard类型

调用

// Text Message


// Link Message


// Markdown Message


// Feed Card Message


// Single Action Card Message


// Btns Action Card Message

飞书群群机器人

前置准备

请先阅读一遍官方的文档 飞书群机器人配置说明,熟悉里面的各种名词概念。

支持的消息类型

  • 文本 text
  • 富文本 post
  • 群名片 share_chat
  • 图片 image
  • 消息卡片 interactive

调用

企业微信群机器人

前置准备

请先阅读一遍官方的文档 企业微信群机器人配置说明,熟悉里面的各种名词概念。

支持的消息类型

  • 文本 text
  • markdown
  • 图片 image
  • 图文 news
  • 模版卡片 template_card

调用

特别感谢

本项目借鉴了下面开源项目的思路,在此表示感谢,排名不分先后。

License

MIT


notify's People

Contributors

mohuani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.