Make GatewatIdentifyPayload pub
This commit is contained in:
parent
37ad29f698
commit
8cded33eda
|
@ -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 {}
|
||||
|
|
Loading…
Reference in New Issue