From 8cded33eda224432f4cc297be27c8733592f873e Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Fri, 28 Apr 2023 20:30:03 +0200 Subject: [PATCH] Make GatewatIdentifyPayload pub --- src/api/types.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/api/types.rs b/src/api/types.rs index 0ed1755..43ee964 100644 --- a/src/api/types.rs +++ b/src/api/types.rs @@ -711,13 +711,13 @@ impl WebSocketEvent for TypingStartEvent {} #[derive(Debug, Deserialize, Serialize, Default)] pub struct GatewayIdentifyPayload { - token: String, - properties: GatewayIdentifyConnectionProps, - compress: Option, - large_threshold: Option, //default: 50 - shard: Option>, - presence: Option, - intents: i32, + pub token: String, + pub properties: GatewayIdentifyConnectionProps, + pub compress: Option, + pub large_threshold: Option, //default: 50 + pub shard: Option>, + pub presence: Option, + pub intents: i32, } impl WebSocketEvent for GatewayIdentifyPayload {}