...
Property | Description |
---|---|
phone (string) | Senders phone number. |
message (string) | Message body |
timestamp (time) | Time when message was received. It is the time sent by operator, not the router's local time. |
type (string) | Message type |
Syntax
Code Block | ||
---|---|---|
| ||
:cmd SECRET script NAME [[ VAR[=VAL] ] ... ] |
...
- *Parameters can be put into quotes "VAR"="VAL" if necessary.
- *Escaping of values is not supported (VAR="\"").
- *Combined SMS are not supported, every SMS will be treated separately
- * 16Bit unicode messages are not supported
- * SMS are decoded with the standard GSM7 alphabet, so you can't send in other encodings, otherwise it will be decoded incorrectly
Examples
Wrong:
Code Block | ||
---|---|---|
| ||
:cmd script mans_skripts :cmd slepens script mans skripts :cmd slepens script mans_skripts var= :cmd slepens script mans_skripts var= a :cmd slepens script mans_skripts var=a a |
Right:
Code Block | ||
---|---|---|
| ||
:cmd slepens script mans_skripts :cmd slepens script "mans skripts" :cmd slepens script mans_skripts var :cmd slepens script mans_skripts var=a :cmd slepens script mans_skripts var="a a" |
...