SOAP API method User_sendSms

Back to API references

Description
Use this method to send a text message to this user. The sent message will be added to the statistics. Note: SMS longer than 160 characters will be split and logged seperately. So sending a SMS of 200 characters will show up in the statistics as 2 messages.

Parameters
Parameter 'id' : int
Unique identifier (id) of the object User. The method only applies to the user with this id.
Parameter 'text' : string
The message to send
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'value' : boolean

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt