C# Class CmsData.Classes.Twilio.TwilioHelper

Datei anzeigen Open project: bvcms/bvcms

Public Methods

Method Description
GetAvailableLists ( int iUserID ) : List
GetNumberList ( ) : List
GetSendCount ( System.Guid iQBID ) : int
GetUnassignedPeople ( int id ) : List
GetUnusedNumberList ( ) : List
ProcessQueue ( int iNewListID ) : void
QueueSms ( System.Guid iQBID, int iSendGroupID, string sTitle, string sMessage ) : void
QueueSms ( IQueryable q, int iSendGroupID, string sTitle, string sMessage ) : void
QueueSms ( object query, int iSendGroupID, string sTitle, string sMessage ) : void
userSendSMS ( int iUserID ) : bool

Private Methods

Method Description
GetSid ( ) : string
GetToken ( ) : string
SendSms ( string sSID, string sToken, string sFrom, string sTo, string sBody ) : bool

Method Details

GetAvailableLists() public static method

public static GetAvailableLists ( int iUserID ) : List
iUserID int
return List

GetNumberList() public static method

public static GetNumberList ( ) : List
return List

GetSendCount() public static method

public static GetSendCount ( System.Guid iQBID ) : int
iQBID System.Guid
return int

GetUnassignedPeople() public static method

public static GetUnassignedPeople ( int id ) : List
id int
return List

GetUnusedNumberList() public static method

public static GetUnusedNumberList ( ) : List
return List

ProcessQueue() public static method

public static ProcessQueue ( int iNewListID ) : void
iNewListID int
return void

QueueSms() public static method

public static QueueSms ( System.Guid iQBID, int iSendGroupID, string sTitle, string sMessage ) : void
iQBID System.Guid
iSendGroupID int
sTitle string
sMessage string
return void

QueueSms() public static method

public static QueueSms ( IQueryable q, int iSendGroupID, string sTitle, string sMessage ) : void
q IQueryable
iSendGroupID int
sTitle string
sMessage string
return void

QueueSms() public static method

public static QueueSms ( object query, int iSendGroupID, string sTitle, string sMessage ) : void
query object
iSendGroupID int
sTitle string
sMessage string
return void

userSendSMS() public static method

public static userSendSMS ( int iUserID ) : bool
iUserID int
return bool