Documentation ¶
Index ¶
- func AtEveryone() string
- func AtPerson(id, name string) string
- func Bold(s string) string
- func FeiShuEmoji(emojiKey string) string
- func GreenText(s string) string
- func GreyText(s string) string
- func HorizontalRule() string
- func Hyperlink(s string) string
- func Image(imgKey, hoverText string) string
- func Italic(s string) string
- func LineBreak() string
- func RedText(s string) string
- func Strikethrough(s string) string
- func TextLink(text, link string) string
- func TextTag(color TextTagColor, s string) string
- type TextTagColor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtEveryone ¶
func AtEveryone() string
func FeiShuEmoji ¶
FeiShuEmoji 飞书表情
https://open.feishu.cn/document/server-docs/im-v1/message-reaction/emojis-introduce
func HorizontalRule ¶
func HorizontalRule() string
func Strikethrough ¶
Types ¶
type TextTagColor ¶
type TextTagColor string
const ( TextTagColorNeutral TextTagColor = "neutral" TextTagColorBlue TextTagColor = "blue" TextTagColorTurquoise TextTagColor = "turquoise" TextTagColorLime TextTagColor = "lime" TextTagColorOrange TextTagColor = "orange" TextTagColorViolet TextTagColor = "violet" TextTagColorIndigo TextTagColor = "indigo" TextTagColorWathet TextTagColor = "wathet" TextTagColorGreen TextTagColor = "green" TextTagColorYellow TextTagColor = "yellow" TextTagColorRed TextTagColor = "red" TextTagColorPurple TextTagColor = "purple" TextTagColorCarmine TextTagColor = "carmine" )
Click to show internal directories.
Click to hide internal directories.