Document more gateway props options

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

View File

@ -59,11 +59,13 @@ impl WebSocketEvent for GatewayIdentifyPayload {}
pub struct GatewayIdentifyConnectionProps {
/// Almost always sent
///
/// ex: "Linux", "Windows"
/// ex: "Linux", "Windows", "Mac OS X"
///
/// ex (mobile): "Windows Mobile", "iOS", "Android", "BlackBerry"
pub os: String,
/// 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,
/// Sometimes not sent, acceptable to be ""
///