+
+

+ Test + + ¶ + +

+
+
+ field +
+
+

+

+
+
+ + field + +
+
+

+ content +

+
+
+
+
+ + + send_message + + + + ( + + + + + sender + + + + , + + + + priority + + + + + ) + + + ¶ + +
+
+

+ Send a message to a recipient +

+
+
+ Parameters +
+
+
    +
  • +

    + + sender + + ( + + str + + ) – The person sending the message +

    +
  • +
  • +

    + + priority + + ( + + int + + ) – The priority of the message, can be a number 1-5 +

    +
  • +
+
+
+ Returns +
+
+

+ the message id +

+
+
+ Return type +
+
+

+ int +

+
+
+ Raises +
+
+

+ + ValueError + + – if the message_body exceeds 160 characters +

+
+
+
+
+
+