Make GatewatIdentifyPayload pub
This commit is contained in:
parent
be09e79bab
commit
909e8d39ed
|
@ -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 {}
|
||||||
|
|
Loading…
Reference in New Issue