Jan 09 2022 12:01 PM
Hi,
Is there a way to send emojis as part of a TextBlock, or other type of element ?
Thanks
Jan 10 2022 10:33 PM - edited Feb 04 2022 02:10 AM
Solution@__arik__ -The correct way to use emojis is to directly add it with Text like this "🥰 "
Code snippet:
{
"type": "AdaptiveCard",
"body": [
{
"type": "ColumnSet",
"horizontalAlignment": "Center",
"columns": [
{
"type": "Column",
"items": [
{
"type": "ColumnSet",
"horizontalAlignment": "Center",
"columns": [
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"text": "**AwareGO Training Bot**",
"wrap": true
},
{
"type": "TextBlock",
"spacing": "None",
"text": "Hi ABC:🥰",
"height": "stretch",
"wrap": true
},
{
"type": "TextBlock",
"text": "Well, here you’ll receive the original, bite-sized video lessons that make learning about cybersecurity surprisingly fun :popcorn:.",
"wrap": true,
"isSubtle": true
}
],
"width": 250
}
]
}
],
"width": 100
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.2"
}
Card UI:
Thanks,
Sayali
--------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
Jan 11 2022 05:40 AM