(btn *larkcard.MessageCardEmbedButton)
| 339 | } |
| 340 | |
| 341 | func withOneBtn(btn *larkcard.MessageCardEmbedButton) larkcard. |
| 342 | MessageCardElement { |
| 343 | actions := larkcard.NewMessageCardAction(). |
| 344 | Actions([]larkcard.MessageCardActionElement{btn}). |
| 345 | Layout(larkcard.MessageCardActionLayoutFlow.Ptr()). |
| 346 | Build() |
| 347 | return actions |
| 348 | } |
| 349 | |
| 350 | //新建对话按钮 |
| 351 |
no outgoing calls
no test coverage detected