diff --git a/proto/messenger/v1/request.proto b/proto/messenger/v1/request.proto index 1e76dab1b24e8dc276b401e4f68f26b3b11068f4..aece31bdcbd2864e98acd048b392d4114c62871a 100644 --- a/proto/messenger/v1/request.proto +++ b/proto/messenger/v1/request.proto @@ -52,12 +52,12 @@ message ChatUnsetAdminRequest { } message ChatListRequest { - int32 limit = 1; + unt32 limit = 1; optional int64 from_event_id = 2; } message ChatSearchRequest { string query = 1; - int32 limit = 2; + unt32 limit = 2; optional int64 from_event_id = 3; } \ No newline at end of file diff --git a/proto/profile/v1/profile.proto b/proto/profile/v1/profile.proto index b665c385a850899fdb9d68a769e07f95377af352..beba3e330b3c45b955b655e2c0fa417fc0b4036a 100644 --- a/proto/profile/v1/profile.proto +++ b/proto/profile/v1/profile.proto @@ -20,7 +20,7 @@ message UpdateProfileRequest { message SearchProfilesRequest { string query = 1; - int32 limit = 2; + unt32 limit = 2; // Pagination cursor. Empty field = first page optional ProfileCursor cursor = 3; }