mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
remove send
This commit is contained in:
@@ -34,19 +34,5 @@
|
|||||||
"text": "let's grab a 🍺"
|
"text": "let's grab a 🍺"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"send": [
|
|
||||||
{
|
|
||||||
"title": "Send a text containing an emoji to anyone via SMS.",
|
|
||||||
"run_check": false,
|
|
||||||
"request": {
|
|
||||||
"from": "Alice",
|
|
||||||
"to": "+44782669123",
|
|
||||||
"message": "let's grab a :beer:"
|
|
||||||
},
|
|
||||||
"response": {
|
|
||||||
"text": "let's grab a 🍺"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ service Emoji {
|
|||||||
rpc Find(FindRequest) returns (FindResponse) {}
|
rpc Find(FindRequest) returns (FindResponse) {}
|
||||||
rpc Flag(FlagRequest) returns (FlagResponse) {}
|
rpc Flag(FlagRequest) returns (FlagResponse) {}
|
||||||
rpc Print(PrintRequest) returns (PrintResponse) {}
|
rpc Print(PrintRequest) returns (PrintResponse) {}
|
||||||
rpc Send(SendRequest) returns (SendResponse) {}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find an emoji by its alias e.g :beer:
|
// Find an emoji by its alias e.g :beer:
|
||||||
@@ -45,17 +44,3 @@ message PrintResponse {
|
|||||||
string text = 1;
|
string text = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send an emoji to anyone via SMS. Messages are sent in the form '<message> Sent from <from>'
|
|
||||||
message SendRequest {
|
|
||||||
// the name of the sender from e.g Alice
|
|
||||||
string from = 1;
|
|
||||||
// phone number to send to (including international dialing code)
|
|
||||||
string to = 2;
|
|
||||||
// message to send including emoji aliases
|
|
||||||
string message = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
message SendResponse {
|
|
||||||
// whether or not it succeeded
|
|
||||||
bool success = 1;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -3,7 +3,4 @@
|
|||||||
"icon": "😀",
|
"icon": "😀",
|
||||||
"category": "utility",
|
"category": "utility",
|
||||||
"display_name": "Emoji"
|
"display_name": "Emoji"
|
||||||
"pricing": {
|
|
||||||
"Emoji.Send": 75000
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user