qcloudsms_csharp
0.1.6
|
Public 成员函数 | |
SmsSingleSender (int appid, string appkey) | |
SmsSingleSender (int appid, string appkey, IHTTPClient httpclient) | |
SmsSingleSenderResult | send (int type, string nationCode, string phoneNumber, string msg, string extend, string ext) |
Send single SMS message. 更多... | |
SmsSingleSenderResult | sendWithParam (string nationCode, string phoneNumber, int templateId, string[] parameters, string sign, string extend, string ext) |
Send single SMS message with template paramters. 更多... | |
![]() | |
SmsBase (int appid, string appkey, IHTTPClient httpclient) | |
HTTPResponse | handleError (HTTPResponse response) |
额外继承的成员函数 | |
![]() | |
int | appid [get] |
string | appkey [get] |
IHTTPClient | httpclient [get, set] |
|
inline |
Send single SMS message.
type | SMS message type, Enum{0: normal SMS, 1: marketing SMS} | ||||
nationCode | nation dialing code, e.g. China is 86, USA is 1 | ||||
phoneNumber | phone number | ||||
msg | SMS message content< /param>
|
|
inline |
Send single SMS message with template paramters.
nationCode | nation dialing code, e.g. China is 86, USA is 1 |
phoneNumber | phone number |
templateId | template id |
parameters | template parameters |
sign | Sms user sign |
extend | extend field, default is empty string |
ext | ext field, content will be returned by server as it is |