Merge pull request 'reqrep socket' (#151) from feature/saving-campaign-bk into develop

Reviewed-on: #151
This commit is contained in:
Minh Nguyen 2023-03-23 03:46:25 +00:00
commit 783b68249d
1 changed files with 10 additions and 0 deletions

View File

@ -7,3 +7,13 @@ type PayloadEmitSocketEvent struct {
Data string `json:"data"` Data string `json:"data"`
IsNotRemove bool `json:"isNotRemove"` IsNotRemove bool `json:"isNotRemove"`
} }
// PayloadEventSocketReward ...
type PayloadEventSocketReward struct {
Type string `json:"type"`
Title string `json:"title"`
Cash float64 `json:"cash"`
Message string `json:"message"`
Photo *FilePhoto `json:"photo"`
Action *ActionType `json:"action"`
}