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)]
pub struct GatewayIdentifyPayload {
token: String,
properties: GatewayIdentifyConnectionProps,
compress: Option<bool>,
large_threshold: Option<i16>, //default: 50
shard: Option<Vec<(i32, i32)>>,
presence: Option<PresenceUpdate>,
intents: i32,
pub token: String,
pub properties: GatewayIdentifyConnectionProps,
pub compress: Option<bool>,
pub large_threshold: Option<i16>, //default: 50
pub shard: Option<Vec<(i32, i32)>>,
pub presence: Option<PresenceUpdate>,
pub intents: i32,
}
impl WebSocketEvent for GatewayIdentifyPayload {}