✨ Batch notify user api
This commit is contained in:
@ -6,6 +6,7 @@ package proto;
|
||||
|
||||
service Notifier {
|
||||
rpc NotifyUser(NotifyUserRequest) returns (NotifyResponse) {}
|
||||
rpc NotifyUserBatch(NotifyUserBatchRequest) returns (NotifyResponse) {}
|
||||
rpc NotifyAllUser(NotifyRequest) returns(NotifyResponse) {}
|
||||
}
|
||||
|
||||
@ -14,6 +15,11 @@ message NotifyUserRequest {
|
||||
NotifyRequest notify = 2;
|
||||
}
|
||||
|
||||
message NotifyUserBatchRequest {
|
||||
repeated uint64 user_id = 1;
|
||||
NotifyRequest notify = 2;
|
||||
}
|
||||
|
||||
message NotifyRequest {
|
||||
string topic = 1;
|
||||
string title = 2;
|
||||
|
Reference in New Issue
Block a user