eDingtalkBot

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package eDingtalkBot Description: 钉钉流式机器人

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func E钉钉上传文件

func E钉钉上传文件(token string, path string) (string, error)

func E钉钉取Token

func E钉钉取Token(appkey string, appsecret string) string

Types

type EDingtalkBot

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

func NewEDingtalkBot

func NewEDingtalkBot() *EDingtalkBot

func (*EDingtalkBot) E创建机器人

func (a *EDingtalkBot) E创建机器人(clientId string, clientSecret string, onChatBotMessageReceived func(ctx context.Context, data *chatbot.BotCallbackDataModel) ([]byte, error)) error

type EDingtalkBotI

type EDingtalkBotI interface {
	E创建机器人(clientId string, clientSecret string, onChatBotMessageReceived func(ctx context.Context, data *chatbot.BotCallbackDataModel) ([]byte, error)) error
}

Jump to

Keyboard shortcuts

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