Documentation ¶
Index ¶
- func Bold(s string) string
- func ColorGreen(s string) string
- func ColorGrey(s string) string
- func ColorRed(s string) string
- func HorizontalRule() string
- func Image(hoverText, imageKey string) string
- func Italics(s string) string
- func Link(url string) string
- func MentionAll() string
- func MentionByEmail(email string) string
- func MentionByID(id string, name ...string) string
- func Strikethrough(s string) string
- func TextLink(text, url string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorGreen ¶ added in v0.2.0
func HorizontalRule ¶
func HorizontalRule() string
func MentionAll ¶ added in v0.4.0
func MentionAll() string
MentionAll @所有人
https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN#e1cdee9f
func MentionByEmail ¶ added in v0.4.0
MentionByEmail 通过邮箱 @指定人
https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uUzN1YjL1cTN24SN3UjN?from=mcb#acc98e1b
func MentionByID ¶ added in v0.4.0
MentionByID 通过 Open ID 或 User ID @指定人
如果 ID 无效,则取 name 展示
https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN#e1cdee9f
func Strikethrough ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.