Skip to content
Snippets Groups Projects
Commit 9984e922 authored by Anton Sattarov's avatar Anton Sattarov
Browse files

sip

parent 7e9dab6a
No related branches found
No related tags found
1 merge request!60API Сервиса Mailbox
......@@ -29,7 +29,7 @@ message SendRequest {
// Запрос на получение уведомлений
message ListRequest {
string recipient = 1;
common.FindOptions opts = 2;
FindOptions options = 2; // Дополнительные параметры поиска
}
// Ответ на получение уведомлений
......@@ -43,6 +43,11 @@ message MarkAsReadRequest {
repeated string message_ids = 2;
}
message FindOptions {
common.FindOptions options = 2;
bool unread = 5; // Получить только непрочитанные сообщения
}
// Сервис уведомлений
service Mailbox {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment