Skip to content

Commit

Permalink
feat: documentation for msgextras actions
Browse files Browse the repository at this point in the history
documentation for gotify/android#236
  • Loading branch information
cyrinux committed Jun 16, 2022
1 parent 9153bc8 commit e504b1e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/msgextras.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,38 @@ Some of the namespaces are used by official clients:
}
```

### `actions`.`open`

`actions`.`open` (string): Opens an URL on "open" button notification click.

#### Example

```json
{
"extras": {
"client::notification": {
"actions": { "open": "https://gotify.net" }
}
}
}
```

### `actions`.`share`

`actions`.`share` (string): Share an URL on "share" button notification click.

#### Example

```json
{
"extras": {
"client::notification": {
"actions": { "share": "https://gotify.net" }
}
}
}
```

#### Support

| Client | since | description |
Expand Down

0 comments on commit e504b1e

Please sign in to comment.