File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ pub struct Reward {
75
75
pub background_color : String ,
76
76
/// ID of channel where the redemption was triggered
77
77
pub channel_id : types:: UserId ,
78
- /// Cooldown will expire after this many seconds have passed from pubsub message
79
- pub cooldown_expires_at : Option < u64 > ,
78
+ /// Cooldown will expire after this timestamp
79
+ pub cooldown_expires_at : Option < types :: Timestamp > ,
80
80
/// Cost of reward.
81
81
pub cost : u32 ,
82
82
/// Default image of reward in rewards & challenges screen on client
Original file line number Diff line number Diff line change @@ -531,6 +531,12 @@ pub enum Response {
531
531
/// Data corresponding to [topic](Topic) message
532
532
data : TopicData ,
533
533
} ,
534
+ /// Response from a ping
535
+ #[ serde( rename = "PONG" ) ]
536
+ Pong ,
537
+ /// Request for the client to reconnect
538
+ #[ serde( rename = "RECONNECT" ) ]
539
+ Reconnect ,
534
540
}
535
541
536
542
impl Response {
You can’t perform that action at this time.
0 commit comments