root.icons object

Icons used within the Teams app. The icon files must be included as part of the upload package. For more information, see Icons.

Properties that reference this object type:

Syntax

{
  "outline": "{string}",
  "color": "{string}",
  "color32x32": "{string}"
}
{
  "outline": "{string}",
  "color": "{string}"
}

Properties

outline

A relative file path to a transparent 32x32 PNG outline icon. The border color must be white.

Type
string

Required

Constraints
Maximum string length: 2048.

Supported values

color

relative file path to a full color 192x192 PNG icon.

Type
string

Required

Constraints
Maximum string length: 2048.

Supported values

color32x32

A relative file path to a full color 32x32 PNG icon with transparent background. Used when the app is pinned in Outlook and Microsoft 365 app.

Type
string

Required

Constraints
Maximum string length: 2048.

Supported values

Examples

{
    "icons": {
        "outline": "A relative path to a transparent .png icon — 32px X 32px",
        "color": "A relative path to a full color .png icon — 192px X 192px"
    }
}
{
    "icons": {
        "outline": "%FILENAME-32x32px%",
        "color": "%FILENAME-192x192px",
        "color32x32": "%FILENAME-32x32px%"
    }
}