Compare commits
3 Commits
release/v3
...
main
Author | SHA1 | Date | |
---|---|---|---|
1c642867c2 | |||
|
aa0ecfea71 | ||
|
c681d4d5ed |
23
plug.proto
23
plug.proto
@ -39,17 +39,14 @@ message PlugTask {
|
||||
}
|
||||
|
||||
message PlugTaskCreation {
|
||||
string user_id = 1;
|
||||
string user_source_name = 2;
|
||||
bool deep_scrape = 3;
|
||||
string api_key = 4;
|
||||
string user_name = 5;
|
||||
string user_source_id = 1;
|
||||
bool deep_scrape = 2;
|
||||
string api_key = 3;
|
||||
}
|
||||
|
||||
message SendMessageRequest {
|
||||
string user_id = 1;
|
||||
string user_source_id = 1;
|
||||
string message = 2;
|
||||
string user_name = 3;
|
||||
}
|
||||
|
||||
message SendMessageResponse {
|
||||
@ -57,8 +54,7 @@ message SendMessageResponse {
|
||||
}
|
||||
|
||||
message GetMessagesRequest {
|
||||
string user_id = 1;
|
||||
string user_name = 2;
|
||||
string user_source_id = 1;
|
||||
}
|
||||
|
||||
message GetMessagesResponse {
|
||||
@ -66,9 +62,8 @@ message GetMessagesResponse {
|
||||
}
|
||||
|
||||
message Message {
|
||||
string from_user_id = 1;
|
||||
string from_user_name = 2;
|
||||
google.protobuf.Timestamp created_at = 3;
|
||||
string body = 4;
|
||||
string title = 5;
|
||||
string from_user_source_id = 1;
|
||||
google.protobuf.Timestamp created_at = 2;
|
||||
string body = 3;
|
||||
string title = 4;
|
||||
}
|
Loading…
Reference in New Issue
Block a user