mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-20 19:47:12 +00:00
gateway: Add Ready.Sessions
This commit is contained in:
parent
181dcb1bdd
commit
60bcb4c966
|
@ -726,6 +726,7 @@ type (
|
|||
UserGuildSettings []UserGuildSetting `json:"user_guild_settings,omitempty"`
|
||||
Relationships []discord.Relationship `json:"relationships,omitempty"`
|
||||
Presences []discord.Presence `json:"presences,omitempty"`
|
||||
Sessions []UserSession `json:"sessions,omitempty"`
|
||||
|
||||
FriendSuggestionCount int `json:"friend_suggestion_count,omitempty"`
|
||||
GeoOrderedRTCRegions []string `json:"geo_ordered_rtc_regions,omitempty"`
|
||||
|
@ -746,6 +747,17 @@ type (
|
|||
MentionCount int `json:"mention_count"`
|
||||
}
|
||||
|
||||
UserSession struct {
|
||||
Status discord.Status `json:"status"`
|
||||
SessionID string `json:"session_id"`
|
||||
ClientInfo struct {
|
||||
Version int `json:"version"`
|
||||
OS string `json:"os"`
|
||||
Client string `json:"client"`
|
||||
} `json:"client_info"`
|
||||
Activities []discord.Activity `json:"activities"`
|
||||
}
|
||||
|
||||
// UserSettings is the struct for (almost) all user settings. It is
|
||||
// undocumented.
|
||||
UserSettings struct {
|
||||
|
|
Loading…
Reference in a new issue