notification types and topic id

This commit is contained in:
Mothana 2026-02-04 22:30:24 +04:00
parent 6aa90d63ba
commit c146d46c59
12 changed files with 211 additions and 9 deletions

View file

@ -541,6 +541,7 @@ message UserInfo{
string callback_url = 10;
string bridge_url = 11;
string nmanage = 12;
string topic_id = 13;
}
@ -935,4 +936,19 @@ message BeaconData {
optional string avatarUrl = 3;
optional string nextRelay = 4;
optional CumulativeFees fees = 5;
}
message PushNotificationEnvelope {
string topic_id = 1;
string app_npub_hex = 2;
string encrypted_payload = 3; // encrypted PushNotificationPayload
}
message PushNotificationPayload {
oneof data {
UserOperation received_operation = 1;
UserOperation sent_operation = 2;
}
}