diff --git a/src/api/types.rs b/src/api/types.rs index 4bdb6c4..2efbc1a 100644 --- a/src/api/types.rs +++ b/src/api/types.rs @@ -829,3 +829,15 @@ impl WebSocketEvent for GatewayHeartbeat {} pub struct GatewayHeartbeatAck { pub op: i32, } + +impl WebSocketEvent for GatewayHeartbeatAck {} + +#[derive(Debug, Default, Deserialize, Serialize)] +pub struct GatewayPayload { + pub op: i32, + pub d: Option, + pub s: Option, + pub t: Option, +} + +impl WebSocketEvent for GatewayPayload {}