api: change SMS save/send validity units

Making clients pass the raw GSM PDU value isn't very useful
since it's not exactly trivial to create programmatically.
Instead, let's make validity be units of 5 minutes and MM
will automatically figure out how to map that to the PDU
value.
This commit is contained in:
Dan Williams
2012-01-18 12:52:28 -06:00
parent 27b981237e
commit 9bba24941b
@@ -100,7 +100,7 @@
number : string - Phone number (mandatory)
text : string - SMS text (mandatory)
smsc : string - SMS service center number (optional)
validity : uint (0..255) - Specifies when the SMS expires in SMSC (optional)
validity : uint (0..127008) - Specifies when the SMS expires in SMSC (units of 5 minutes) (optional)
class : uint (0..3) - Message importance and location (optional)
</tp:docstring>
</arg>