Skip to content

Commit e504b1e

Browse files
committed
feat: documentation for msgextras actions
documentation for gotify/android#236
1 parent 9153bc8 commit e504b1e

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

docs/msgextras.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,38 @@ Some of the namespaces are used by official clients:
8181
}
8282
```
8383

84+
### `actions`.`open`
85+
86+
`actions`.`open` (string): Opens an URL on "open" button notification click.
87+
88+
#### Example
89+
90+
```json
91+
{
92+
"extras": {
93+
"client::notification": {
94+
"actions": { "open": "https://gotify.net" }
95+
}
96+
}
97+
}
98+
```
99+
100+
### `actions`.`share`
101+
102+
`actions`.`share` (string): Share an URL on "share" button notification click.
103+
104+
#### Example
105+
106+
```json
107+
{
108+
"extras": {
109+
"client::notification": {
110+
"actions": { "share": "https://gotify.net" }
111+
}
112+
}
113+
}
114+
```
115+
84116
#### Support
85117

86118
| Client | since | description |

0 commit comments

Comments
 (0)