// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Text.Json.Serialization;
namespace Microsoft.Teams.Apps.Handlers.TaskModules;
///
/// Task module invoke request value payload.
///
public class TaskModuleRequest
{
///
/// User input data. Free payload with key-value pairs.
///
[JsonPropertyName("data")]
public object? Data { get; set; }
///
/// Current user context, i.e., the current theme.
///
[JsonPropertyName("context")]
public TaskModuleRequestContext? Context { get; set; }
}
///
/// Current user context, i.e., the current theme.
///
public class TaskModuleRequestContext
{
///
/// The user's current theme.
///
[JsonPropertyName("theme")]
public string? Theme { get; set; }
}