TTMSFNCCloudSMS.SendCloudSMS Method
Sends a text message through the selected provider and reports the result through OnSendCloudSMS and the optional callback.
API unit family: TMSFNCCloudSMS
Declaring type: TTMSFNCCloudSMS
Inherited from: TTMSFNCCustomCloudSMS
Syntax
procedure SendCloudSMS(AFrom: string; ATo: string; ABody: String; ACallback: TTMSFNCCloudSMSSendCloudSMSCallBack = nil; AID: string = ''; ADataPointer: Pointer = nil);
void __fastcall SendCloudSMS(System::UnicodeString AFrom, System::UnicodeString ATo, System::UnicodeString ABody, _di_TTMSFNCCloudSMSSendCloudSMSCallBack ACallback = _di_TTMSFNCCloudSMSSendCloudSMSCallBack(), System::UnicodeString AID = System::UnicodeString(), void * ADataPointer = (void *)(0x0));
Parameters
| Name | Description |
|---|---|
AFrom |
Sender phone number or sender identifier. |
ATo |
Destination phone number. |
ABody |
Text body of the message. |
ACallback |
Optional callback invoked when the request completes. |
AID |
Optional caller-supplied identifier carried through to the resulting request. |
ADataPointer |
Optional caller-supplied pointer carried through to the resulting request. |