feishu

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateFeishuNotify added in v0.1.10

func NewCreateFeishuNotify(appId, appSecret string, opts ...lark.ClientOptionFunc) (
	notify.Notifier[*larkim.CreateMessageReq], error)

NewCreateFeishuNotify SDK 使用文档:https://github.com/larksuite/oapi-sdk-go/tree/v3_main

func NewCreateFeishuNotifyByClient added in v0.1.11

func NewCreateFeishuNotifyByClient(client *lark.Client) (notify.Notifier[*larkim.CreateMessageReq], error)

func NewFeishuCustom

func NewFeishuCustom(msgType, content string) message.Content

func NewFeishuCustomCard

func NewFeishuCustomCard(tmpl *template.Template, name string, data map[string]interface{}) message.Content

func NewFeishuTemplateCard

func NewFeishuTemplateCard(templateId string, version string, variable map[string]string) message.Content

func NewPatchFeishuNotify added in v0.1.13

func NewPatchFeishuNotify(appId, appSecret string, opts ...lark.ClientOptionFunc) (
	notify.Notifier[*larkim.PatchMessageReq], error)

func NewPatchFeishuNotifyByClient added in v0.1.13

func NewPatchFeishuNotifyByClient(client *lark.Client) (notify.Notifier[*larkim.PatchMessageReq], error)

Types

type CreateNotify added in v0.1.10

type CreateNotify struct {
	// contains filtered or unexported fields
}

func (*CreateNotify) Send added in v0.1.10

type PatchNotify added in v0.1.13

type PatchNotify struct {
	// contains filtered or unexported fields
}

func (*PatchNotify) Send added in v0.1.13

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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