2023-03-23 03:34:58 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
// PayloadEmitSocketEvent ...
|
|
|
|
type PayloadEmitSocketEvent struct {
|
|
|
|
User string `json:"user"`
|
|
|
|
Message string `json:"message"`
|
|
|
|
Data string `json:"data"`
|
|
|
|
IsNotRemove bool `json:"isNotRemove"`
|
|
|
|
}
|
2023-03-23 03:46:10 +00:00
|
|
|
|
|
|
|
// PayloadEventSocketReward ...
|
|
|
|
type PayloadEventSocketReward struct {
|
|
|
|
Type string `json:"type"`
|
|
|
|
Title string `json:"title"`
|
|
|
|
Cash float64 `json:"cash"`
|
|
|
|
Message string `json:"message"`
|
2023-03-23 07:31:06 +00:00
|
|
|
Photo interface{} `json:"photo"`
|
2023-03-23 03:46:10 +00:00
|
|
|
Action *ActionType `json:"action"`
|
|
|
|
}
|