This commit is contained in:
Bruce Marriner 2020-01-20 12:20:30 -06:00
parent eff98faf41
commit 69f369a9f4

View file

@ -925,8 +925,8 @@ type GatewayStatusUpdate struct {
AFK bool `json:"afk"`
}
// https://discordapp.com/developers/docs/topics/gateway#activity-object
// Activity defines the Activity sent with GatewayStatusUpdate
// https://discordapp.com/developers/docs/topics/gateway#activity-object
type Activity struct {
Name string
Type ActivityType
@ -959,6 +959,8 @@ type Identify struct {
GuildSubscriptions bool `json:"guild_subscriptions"`
}
// IdentifyProperties contains the "properties" portion of an Identify packet
// https://discordapp.com/developers/docs/topics/gateway#identify-identify-connection-properties
type IdentifyProperties struct {
OS string `json:"$os"`
Browser string `json:"$browser"`