You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
messageCommand {
// The start of each slash command. Each service registers its own// single-word name, usually the brand name, to be used in this.stringservice=1;
// Command arguments, in the format key:value. This must be immediately// after the service name.repeatedCommandArgumentargs=2;
// The trailing argument, in the format value. This particular argument// requires no quoting.optionalCommandArgumenttail=3;
}
messageCommandArgument {
stringkey=1;
stringvalue=2;
optionalstringdescription=3;
// The hint that the parser will use.// The NLP will also use it to determine speech recognition.CommandArgumentHinthint=4;
}
enumCommandArgumentHint {
COMMAND_ARGUMENT_HINT_NONE=1;
COMMAND_ARGUMENT_HINT_STRING=2;
COMMAND_ARGUMENT_HINT_NUMBER=2;
COMMAND_ARGUMENT_HINT_INTEGER=4;
COMMAND_ARGUMENT_HINT_PERSON=5;
COMMAND_ARGUMENT_HINT_EMAIL=6;
COMMAND_ARGUMENT_HINT_PHONE_NUMBER=7;
COMMAND_ARGUMENT_HINT_ADDRESS=8;
// ...
}
We should implement this in twicmd as actual Protobuf code then connect the existing slash commands parser package to it.
The text was updated successfully, but these errors were encountered:
The proposal defines the following Protobuf:
We should implement this in
twicmd
as actual Protobuf code then connect the existing slash commands parser package to it.The text was updated successfully, but these errors were encountered: