Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit88a3189

Browse files
authored
Abbreviate Message to MSG.
1 parent6b3208f commit88a3189

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

‎serial_protocol.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -195,36 +195,36 @@ Used to stop listening to events at a given path. This must be the same path pro
195195

196196
#Messaging Protocol
197197

198-
##BEGIN_MESSAGING
198+
##BEGIN_MSG
199199
Called to start communicating with Firebase Cloud Messaging, it requires a server key.
200200
###Usage
201-
BEGIN_MESSAGING %Server_Key%
201+
BEGIN_MSG %Server_Key%
202202
###Response
203203
+OK - Accepted initialization parameters
204204
###Examples
205-
>>BEGIN_MESSAGING AIzaSyCk4GtbBa-XMQbc5TyT5oe1KnH71M-2lAZ
205+
>>BEGIN_MSG AIzaSyCk4GtbBa-XMQbc5TyT5oe1KnH71M-2lAZ
206206
<< +OK
207207

208-
##MESSAGE_TO_USERS
208+
##MSG_USERS
209209
Called to start composing a message to users by registration id. You can specify as many as you wish separated by spaces on the same line.
210210
##Usage
211-
MESSAGE_TO_USERS %Registration_id% ...
211+
MSG_USERS %Registration_id% ...
212212
###Response
213213
+OK - Ready to specify rest of message.
214214
###Examples
215-
>>MESSAGE_TO_USERS fQCLfBOGdh0...9k0
215+
>>MSG_USERS fQCLfBOGdh0...9k0
216216
<< +OK
217-
>>MESSAGE_TO_USERS fQCLfBOGdh0...9k0 fQCLfBOGdh0...5j1
217+
>>MSG_USERS fQCLfBOGdh0...9k0 fQCLfBOGdh0...5j1
218218
<< +OK
219219

220-
##MESSAGE_TO_TOPIC
220+
##MSG_TOPIC
221221
Called to start composing a message to a topic.
222222
##Usage
223-
MESSAGE_TO_TOPIC %Topic_Name% ...
223+
MSG_TOPIC %Topic_Name% ...
224224
###Response
225225
+OK - Ready to specify rest of message.
226226
###Examples
227-
>>MESSAGE_TO_TOPIC news
227+
>>MSG_TOPIC news
228228
<< +OK
229229

230230
##COLLAPSE_KEY
@@ -312,15 +312,15 @@ Data to delivery to client application. This is comprised of Key->Value pairs. T
312312
>> 104
313313
<< +OK
314314

315-
##SEND_MESSAGE
315+
##SEND_MSG
316316
Send the message we have been preparing.
317317
##Usage
318-
SEND_MESSAGE
318+
SEND_MSG
319319
###Response
320320
+OK - Message Sent.
321321
-FAIL - Failed to send message, we still have the message prepared so you may retry.
322322
###Examples
323-
>>SEND_MESSAGE
323+
>>SEND_MSG
324324
<< +OK
325-
>>SEND_MESSAGE
325+
>>SEND_MSG
326326
<< -FAIL

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp