Make GatewatIdentifyPayload pub

This commit is contained in:
bitfl0wer 2023-04-28 20:30:03 +02:00
parent 37ad29f698
commit 8cded33eda
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 7 additions and 7 deletions

View File

@ -711,13 +711,13 @@ impl WebSocketEvent for TypingStartEvent {}
#[derive(Debug, Deserialize, Serialize, Default)] #[derive(Debug, Deserialize, Serialize, Default)]
pub struct GatewayIdentifyPayload { pub struct GatewayIdentifyPayload {
token: String, pub token: String,
properties: GatewayIdentifyConnectionProps, pub properties: GatewayIdentifyConnectionProps,
compress: Option<bool>, pub compress: Option<bool>,
large_threshold: Option<i16>, //default: 50 pub large_threshold: Option<i16>, //default: 50
shard: Option<Vec<(i32, i32)>>, pub shard: Option<Vec<(i32, i32)>>,
presence: Option<PresenceUpdate>, pub presence: Option<PresenceUpdate>,
intents: i32, pub intents: i32,
} }
impl WebSocketEvent for GatewayIdentifyPayload {} impl WebSocketEvent for GatewayIdentifyPayload {}