You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: send-message/README.md
+9-32Lines changed: 9 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,38 +4,15 @@ This action sends a message to [Zulip](https://zulip.com/).
4
4
5
5
## Inputs
6
6
7
-
### `api-key`
8
-
9
-
**Required**[API key](https://zulip.com/api/api-keys) used to interact with the Zulip API. You can get an API key through Zulip's web interface.
10
-
You should store the API key [as a secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository).
11
-
12
-
### `email`
13
-
14
-
**Required** Email address of the user who owns the API key mentioned above.
15
-
16
-
### `organization-url`
17
-
18
-
**Required** Zulip organization canonical URL.
19
-
20
-
### `to`
21
-
22
-
**Required** For stream messages, either the name or integer ID of the stream.
23
-
For private messages, either a list containing integer user IDs or a list containing string email addresses.
24
-
25
-
### `type`
26
-
27
-
**Required** The type of message to be sent. `private` for a private message and `stream` for a stream message.
28
-
Must be one of: `private`, `stream`.
29
-
30
-
### `topic`
31
-
32
-
**Optional** The topic of the message. Only required for stream messages (`type="stream"`), ignored otherwise.
33
-
Maximum length of 60 characters.
34
-
35
-
### `content`
36
-
37
-
**Required** The content of the message. Maximum message size of 10000 bytes.
38
-
Format your message using [Zulip Markdown](https://zulip.com/help/format-your-message-using-markdown).
|`api-key`| Yes |[API key](https://zulip.com/api/api-keys) used to interact with the Zulip API. You can get an API key through Zulip's web interface. You should store the API key [as a secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository). |
10
+
|`content`| Yes | The content of the message, formatted using [Zulip Markdown](https://zulip.com/help/format-your-message-using-markdown). Maximum message size of 10000 bytes. |
11
+
|`email`| Yes | Email address of the user who owns the API key mentioned above. |
|`to`| Yes | For stream messages, either the name or integer ID of the stream. For private messages, either a list containing integer user IDs or a list containing string email addresses. |
14
+
|`topic`| No | The topic of the message. Only required for stream messages (`type="stream"`), ignored otherwise. Maximum length of 60 characters. |
15
+
|`type`| Yes | The type of message to be sent. Must be either `private`, for a private message, or `stream`, for a stream message. |
0 commit comments