Sms¶
- model.SendSms(query, iSendGroup, sTitle, sMessage)¶
- Parameters:
query (str) – see The Query Parameter
iSendGroup (int) – The ID of the SMS sending group, from SMSGroups table
sTitle (str) – Kind of a subject. Stored in the database, but not part of the actual text message. Must not be over 150 characters.
sMessage (str) – The text message content. Must not be over 160 characters.
Queue an SMS text message to be sent to the people specified in the query.
- model.CreateTinyUrl(url)¶
- Parameters:
url (str) – The URL to be shortened
- Returns:
A shortened URL
- Return type:
str
Generates a shortened URL using the configured URL shortener service. If the service is not set up or fails, the original URL is returned.