@milerliu/feishu 0.1.14 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/send.ts +4 -0
package/package.json
CHANGED
package/src/send.ts
CHANGED
|
@@ -379,13 +379,17 @@ export async function updateCardFeishu(params: {
|
|
|
379
379
|
*/
|
|
380
380
|
export function buildMarkdownCard(text: string): Record<string, unknown> {
|
|
381
381
|
return {
|
|
382
|
+
type: "adaptive",
|
|
382
383
|
config: {
|
|
383
384
|
wide_screen_mode: true,
|
|
385
|
+
enable_forward: true,
|
|
384
386
|
},
|
|
385
387
|
elements: [
|
|
386
388
|
{
|
|
387
389
|
tag: "markdown",
|
|
388
390
|
content: text,
|
|
391
|
+
text_align: "left",
|
|
392
|
+
text_size: "normal",
|
|
389
393
|
},
|
|
390
394
|
],
|
|
391
395
|
};
|