feishu

package
v1.0.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupRobot

type GroupRobot struct {
	Webhook string //接口地址
	SignKey string //签名KEY
}

GroupRobot 群机器人

func NewGroupRobot

func NewGroupRobot(webhook, signKey string) *GroupRobot

NewGroupRobot 实例化

func (*GroupRobot) Send

func (robot *GroupRobot) Send(request interface{}) (entity.GroupRobotResponse, error)

Send 发送消息

func (*GroupRobot) SendRich added in v1.0.38

func (robot *GroupRobot) SendRich(title string, content map[string]interface{}, userId string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL