mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-3555 Protocol | Enhancement | MW 0.41.0-rc3mobile (#2404)
Co-authored-by: Konstantin Ivanov <54908981+konstantiniiv@users.noreply.github.com>
This commit is contained in:
parent
32a9f8b99a
commit
4c675f8832
3 changed files with 20 additions and 4 deletions
|
@ -8297,11 +8297,21 @@ message Rpc {
|
|||
}
|
||||
|
||||
message SubscribeToMessagePreviews {
|
||||
message Request {}
|
||||
message Request {
|
||||
string subId = 1;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
string subId = 2;
|
||||
repeated ChatPreview previews = 2;
|
||||
|
||||
message ChatPreview {
|
||||
string spaceId = 1;
|
||||
string chatObjectId = 2;
|
||||
model.ChatMessage message = 3;
|
||||
model.ChatState state = 4;
|
||||
repeated google.protobuf.Struct dependencies = 5;
|
||||
}
|
||||
|
||||
message Error {
|
||||
Code code = 1;
|
||||
|
@ -8318,7 +8328,9 @@ message Rpc {
|
|||
}
|
||||
|
||||
message UnsubscribeFromMessagePreviews {
|
||||
message Request {}
|
||||
message Request {
|
||||
string subId = 1;
|
||||
}
|
||||
|
||||
message Response {
|
||||
Error error = 1;
|
||||
|
|
|
@ -1367,7 +1367,11 @@ message MembershipTierData {
|
|||
// Android platform-specific data:
|
||||
string androidProductId = 17;
|
||||
string androidManageUrl = 18;
|
||||
|
||||
// "limited offer" or somehing like that
|
||||
string offer = 19;
|
||||
}
|
||||
|
||||
enum DeviceNetworkType {
|
||||
WIFI = 0;
|
||||
CELLULAR = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue