Sms audit (#186)

This commit is contained in:
Dominic Wong
2021-08-11 17:04:02 +01:00
committed by GitHub
parent 0f367123ca
commit b254b65549
5 changed files with 52 additions and 16 deletions

View File

@@ -8,18 +8,18 @@ service Sms {
rpc Send(SendRequest) returns (SendResponse) {}
}
// Send an SMS. Include international dialing code in the number
// Send an SMS.
message SendRequest {
// who is the message from?
// who is the message from? The message will be suffixed with "Sent from <from>"
string from = 1;
// number of the person it's to
// the destination phone number including the international dialling code (e.g. +44)
string to = 2;
// the message to send
// the main body of the message to send
string message = 3;
}
message SendResponse {
// will return "ok" if sent
// will return "ok" if successful
string status = 1;
// any additional info
string info = 2;