织梦CMS - 轻松建站从此开始!

欧博ABG官网-欧博官方网址-会员登入

欧博allbetDisplay number in adaptive card

时间:2026-01-21 04:37来源: 作者:admin 点击: 13 次
I'm guessing you're using Adaptive Cards Templating for this. Remember, this is (a) in preview only and (b) just one option for constructing an Adapti

I'm guessing you're using Adaptive Cards Templating for this. Remember, this is (a) in preview only and (b) just one option for constructing an Adaptive Card. Basically, at the end of the day, the Card is just a string of JSON text so you can create it in 3 main ways:

Using Templates, as you're doing now

Doing string replacement of your own (e.g. var card = '..."text": "##Number##"...' and then card = card.Replace("##Number##", formattedNumberValue)

Using strongly-typed options like the AdaptiveCards Nuget package for C#, for instance

So, I'd suggest, if this is not possible using Templating, to look more at options 2 or 3 above. I described this a bit more , with some links to C# and Node examples.

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2026-01-28 14:01 最后登录:2026-01-28 14:01
栏目列表
推荐内容