Skip to content

Commit

Permalink
feat: text with formats
Browse files Browse the repository at this point in the history
  • Loading branch information
crispgm committed Nov 29, 2023
1 parent 6df83b4 commit 044c3a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions basic-message/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ func main() {
bot.PostText("hello from example with email", lark.WithEmail("[email protected]"))
// Personal Chat, use lark.WithOpenID
bot.PostText("hello from example with open_id", lark.WithOpenID("ou_xxxxxx"))
bot.PostText("text with formats <b>Bold</b> <i>italic</i> <u>Underline</u> <s>strikethrough</s> [Link](https://bytedance.com/)", lark.WithChatID("oc_xxxxxx"))

// Group Chat, use lark.WithChatID
bot.PostText("hello from example with open_chat_id", lark.WithChatID("oc_xxxxxx"))
Expand Down

0 comments on commit 044c3a4

Please sign in to comment.