mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-16 18:30:44 -04:00
support notification types: trade update, chat message, keep alive
This commit is contained in:
parent
422267de79
commit
2715e1bba8
5 changed files with 35 additions and 19 deletions
|
@ -55,9 +55,19 @@ message RegisterNotificationListenerRequest {
|
|||
}
|
||||
|
||||
message NotificationMessage {
|
||||
int64 timestamp = 1;
|
||||
string title = 2;
|
||||
string message = 3;
|
||||
enum NotificationType {
|
||||
TRADE_UPDATE = 0;
|
||||
CHAT_MESSAGE = 1;
|
||||
KEEP_ALIVE = 2;
|
||||
}
|
||||
|
||||
string id = 1;
|
||||
NotificationType type = 2;
|
||||
int64 timestamp = 3;
|
||||
string title = 4;
|
||||
string message = 5;
|
||||
TradeInfo trade = 6;
|
||||
ChatMessage chat_message = 7;
|
||||
}
|
||||
|
||||
message SendNotificationRequest {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue