Document more gateway props options

This commit is contained in:
kozabrada123 2023-05-27 13:05:59 +02:00
parent 0fd800c4c2
commit ccfbdb32c6
1 changed files with 4 additions and 2 deletions

View File

@ -59,11 +59,13 @@ impl WebSocketEvent for GatewayIdentifyPayload {}
pub struct GatewayIdentifyConnectionProps { pub struct GatewayIdentifyConnectionProps {
/// Almost always sent /// Almost always sent
/// ///
/// ex: "Linux", "Windows" /// ex: "Linux", "Windows", "Mac OS X"
///
/// ex (mobile): "Windows Mobile", "iOS", "Android", "BlackBerry"
pub os: String, pub os: String,
/// Almost always sent /// Almost always sent
/// ///
/// ex: "Firefox", "Chrome" /// ex: "Firefox", "Chrome", "Opera Mini", "Opera", "Blackberry", "Facebook Mobile", "Chrome iOS", "Mobile Safari", "Safari", "Android Chrome", "Android Mobile", "Edge", "Konqueror", "Internet Explorer", "Mozilla"
pub browser: String, pub browser: String,
/// Sometimes not sent, acceptable to be "" /// Sometimes not sent, acceptable to be ""
/// ///