OA ShareTemplate Cards · Legacy Rendering of Templates 1–5

API batchSendTemplateMsg → wire EChatSubItemType_ShareTemplate(42). The five cards below are 1:1 reproductions of the legacy layout XMLs and cell code (px ≈ dp); all content is sample data.

Current app regression:templates 1–5 all collapse to a bare title (tap still routes to action); content / cover / appIcon / appName and the five layout variants are lost. Templates 0 (mini-program card) and 6 (plain text) are unaffected.
templateId 1Image Leftnormal_left_pic
B
20GB Ramadan data bundle is here
Stay connected all month for AED 49
cover
40dp rounded thumbnail on the left
title / content
two stacked lines on the right, 1 line each
appIcon+appName
shared footer at the bottom
action
whole-card tap target
card 263dp wide · content row 58dp · default fallback layout for unknown types
templateId 2Videonormal_video
B
How to pay in shops with Botim Pay
title
heading at the top
cover
128dp full-width cover + dark scrim
centered 48dp play glyph (decorative; tap still routes to action)
card 229dp wide · cover 128dp · play glyph 48dp
templateId 3Audionormal_audio
B
Weekly voice brief #42
Top stories in 12 minutes — tap to listen on the go.
title
heading, limited to 1 line
content
digest on the left (up to 2 lines)
audio icon on the right (size_lg, decorative)
card 220dp wide · no cover image — the cover field is not rendered
templateId 4Image Rightnormal_right_pic
B
Your KYC is approved 🎉
Wallet limits upgraded. See what's new in your account.
title / content
title + digest on the left (up to 2 lines)
cover
40dp rounded thumbnail on the right
card 224dp wide · thumbnail 40dp · ConstraintLayout
templateId 5Image Largenormal_center_pic
B
Eid Mubarak — call home free this weekend
title
heading at the top (up to 2 lines)
cover
128dp full-width large cover
content
not rendered in this layout
card 229dp wide · cover 128dp

Reproduced from: layout_chat_cell_item_web_share_card_{image_left, image_right, image_large, video, audio}.xml + shared footer …_card_common.xml; rendering logic BaseWebShareCardCell.java:77-80 (title / content / cover / appName+appIcon, whole-card tap → action), dispatch MessageCellManager.java:261-273. All fields come from IMChatShareTemplateItemPB — i.e. batchSendTemplateMsg's title / content / cover / action / appIcon / appName.