mirror of https://github.com/zulip/zulip.git
Document message and subject length requirements
LENGTH LIMIT RULES This limit is non-refundable unless issued at a fully refundable fare. Some fares may not allow changes. If allowed, any change to your itinerary may require payment of a change fee and increased fare. Failure to appear for any personal message without notice to Zulip will result in cancellation of your remaining reservation. (imported from commit 75d5843677ce959d60d4015779efa9c2cf8f9a1c)
This commit is contained in:
parent
e8a56a22e6
commit
f800e6cebb
|
@ -41,7 +41,7 @@
|
|||
],
|
||||
[
|
||||
"content",
|
||||
"The content of the message"
|
||||
"The content of the message. Maximum message size of 10000 bytes."
|
||||
],
|
||||
[
|
||||
"to",
|
||||
|
@ -49,7 +49,7 @@
|
|||
],
|
||||
[
|
||||
"subject",
|
||||
"The subject for the message (Only required if type is \u201cstream\u201d)"
|
||||
"The subject for the message (Only required if type is \u201cstream\u201d). Maxiumum length of 60 characters."
|
||||
]
|
||||
],
|
||||
"example_request": {
|
||||
|
@ -57,4 +57,4 @@
|
|||
"curl": "<h5>Stream message</h5>\n<div class=\"codehilite\"><pre>curl https://api.humbughq.com/v1/messages <span class=\"se\">\\</span>\n -u BOT_EMAIL_ADDRESS:BOT_API_KEY <span class=\"se\">\\</span>\n -d <span class=\"s2\">\"type=stream\"</span> <span class=\"se\">\\</span>\n -d <span class=\"s2\">\"to=Denmark\"</span> <span class=\"se\">\\</span>\n -d <span class=\"s2\">\"subject=Castle\"</span> <span class=\"se\">\\</span>\n -d <span class=\"s2\">\"content=Something is rotten in the state of Denmark.\"</span>\n</pre></div>\n<h5>Private message</h5>\n<div class=\"codehilite\"><pre>curl https://api.humbughq.com/v1/messages <span class=\"se\">\\</span>\n -u BOT_EMAIL_ADDRESS:BOT_API_KEY <span class=\"se\">\\</span>\n -d <span class=\"s2\">\"type=private\"</span> <span class=\"se\">\\</span>\n -d <span class=\"s2\">\"to=wdaher@example.com\"</span> <span class=\"se\">\\</span>\n -d <span class=\"s2\">\"content=I come not, friends, to steal away your hearts.\"</span>\n</pre></div>"
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue