0.31.0 (latest) 0.30.0 0.29.0 0.28.0 0.27.0 0.23.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.1 0.15.0 0.14.0 0.13.1 0.12.1 0.11.2 0.10.0 0.9.0 0.8.1 0.7.2 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Google Apps Chat V1 Client class Type.

Optional. The
[type](https://m3.material.io/components/all-buttons#9134ac95-678e-49ae-a50a-e71948011b05)
of a button. If `color` field is set, the `type` is forced to `FILLED`.

[Google Chat apps](https://developers.google.com/workspace/chat):

Protobuf type `google.apps.card.v1.Button.Type`

## Namespace

Google \\ Apps \\ Card \\ V1 \\ Button

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### TYPE_UNSPECIFIED

```php
Value: 0
```
Don't use. Unspecified.

Generated from protobuf enum `TYPE_UNSPECIFIED = 0;`

### OUTLINED

```php
Value: 1
```
Outlined buttons are medium-emphasis buttons. They usually contain
actions that are important, but aren't the primary action in a Chat app
or an add-on.

Generated from protobuf enum `OUTLINED = 1;`

### FILLED

```php
Value: 2
```
A filled button has a container with a solid color. It has the most
visual impact and is recommended for the important and primary action in
a Chat app or an add-on.

Generated from protobuf enum `FILLED = 2;`

### FILLED_TONAL

```php
Value: 3
```
A filled tonal button is an alternative middle ground between filled and
outlined buttons. They're useful in contexts where a lower-priority
button requires slightly more emphasis than an outline button would give.

Generated from protobuf enum `FILLED_TONAL = 3;`

### BORDERLESS

```php
Value: 4
```
A button does not have an invisible container in its default state. It is
often used for the lowest priority actions, especially when presenting
multiple options.

Generated from protobuf enum `BORDERLESS = 4;`