1
0
Fork 0
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:
Evgenii Kozlov 2025-05-15 11:07:11 +02:00 committed by GitHub
parent 32a9f8b99a
commit 4c675f8832
Signed by: github
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 4 deletions

View file

@ -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;

View file

@ -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;