Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set themeColor with .NET AdaptiveCards SDK #6841

Closed
soulflyman opened this issue Dec 10, 2021 Discussed in #6382 · 2 comments
Closed

How to set themeColor with .NET AdaptiveCards SDK #6841

soulflyman opened this issue Dec 10, 2021 Discussed in #6382 · 2 comments
Labels
MSTeams-Developer-Support [DoNotDelete] Label to notify questions which needs attention from MSTeams Developer Support team.

Comments

@soulflyman
Copy link

Discussed in #6382

Originally posted by soulflyman September 21, 2021
When sending the following json to a MS Teams Webhook I can change the color bar above the message with the themeColor Option:

{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "MessageCard",    
    "themeColor": "ff0000",
    "version": "1.2",
    "title": "Alarm!",
    "text": "Test Message" 
}

2021-09-21 17_14_24-Microsoft Teams

How is this possible with the .NET AdaptiveCards SDK that ist available via nuget?

@jonmill
Copy link
Contributor

jonmill commented Dec 13, 2021

Hi @soulflyman - this is a feature specific to Teams and is not an AC feature. Moving over to their repo so they can help provide better guidance

@jonmill jonmill added the MSTeams-Developer-Support [DoNotDelete] Label to notify questions which needs attention from MSTeams Developer Support team. label Dec 13, 2021
@ghost ghost closed this as completed Dec 13, 2021
@Wajeed-msft
Copy link

This issue has been copied over to Microsoft Teams repo here: MicrosoftDocs/msteams-docs#4854

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MSTeams-Developer-Support [DoNotDelete] Label to notify questions which needs attention from MSTeams Developer Support team.
Projects
None yet
Development

No branches or pull requests

3 participants