Skip to content

How to set themeColor with .NET AdaptiveCards SDK #6841

@soulflyman

Description

@soulflyman

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    MSTeams-Developer-Support[DoNotDelete] Label to notify questions which needs attention from MSTeams Developer Support team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions