feishuTalk

package module
v0.0.0-...-763aa24 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FeishuTalk

func FeishuTalk(webhook, header, text string) string

Types

type Card

type Card struct {
	Config   Config     `json:"config"`
	Elements []Elements `json:"elements"`
	Header   Header     `json:"header"`
}

type CardMsg

type CardMsg struct {
	MsgType string `json:"msg_type"`
	Card    Card   `json:"card"`
}

type Config

type Config struct {
	WideScreenMode bool `json:"wide_screen_mode"`
	EnableForward  bool `json:"enable_forward"`
}

type Elements

type Elements struct {
	Tag     string `json:"tag"`
	Content string `json:content`
}
type Header struct {
	Title Title
}

type Title

type Title struct {
	Tag     string `json:"tag"`
	Content string `json:content`
}

Jump to

Keyboard shortcuts

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