mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3456 Protocol | Integrate 0.40.0-rc6 (#2141)
This commit is contained in:
parent
dd6185d323
commit
b566ba30e0
3 changed files with 30 additions and 1 deletions
|
@ -7950,6 +7950,7 @@ message Rpc {
|
|||
message Request {
|
||||
string chatObjectId = 1; // Identifier for the chat
|
||||
int32 limit = 2; // Number of max last messages to return and subscribe
|
||||
string subId = 3;
|
||||
}
|
||||
|
||||
message Response {
|
||||
|
@ -7974,6 +7975,7 @@ message Rpc {
|
|||
message Unsubscribe {
|
||||
message Request {
|
||||
string chatObjectId = 1; // Identifier for the chat
|
||||
string subId = 2;
|
||||
}
|
||||
message Response {
|
||||
Error error = 1;
|
||||
|
@ -7991,6 +7993,27 @@ message Rpc {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
message SubscribeToMessagePreviews {
|
||||
message Request {}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
string subId = 2;
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
string description = 2;
|
||||
|
||||
enum Code {
|
||||
NULL = 0;
|
||||
UNKNOWN_ERROR = 1;
|
||||
BAD_INPUT = 2;
|
||||
// ...
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -124,18 +124,24 @@ message Event {
|
|||
message Add {
|
||||
string id = 1;
|
||||
string orderId = 2;
|
||||
string afterOrderId = 6;
|
||||
model.ChatMessage message = 3;
|
||||
repeated string subIds = 4;
|
||||
repeated google.protobuf.Struct dependencies = 5;
|
||||
}
|
||||
message Delete {
|
||||
string id = 1;
|
||||
repeated string subIds = 2;
|
||||
}
|
||||
message Update {
|
||||
string id = 1;
|
||||
model.ChatMessage message = 2;
|
||||
repeated string subIds = 3;
|
||||
}
|
||||
message UpdateReactions {
|
||||
string id = 1;
|
||||
model.ChatMessage.Reactions reactions = 2;
|
||||
repeated string subIds = 3;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue