mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-07 12:38:05 +00:00
Gateway: Fixed more omitempties for UpdateStatus
This commit is contained in:
parent
38eabeb1e9
commit
74f7f5877d
|
@ -105,11 +105,11 @@ const (
|
|||
type Activity struct {
|
||||
Name string `json:"name"`
|
||||
Type ActivityType `json:"type"`
|
||||
URL URL `json:"url"`
|
||||
URL URL `json:"url,omitempty"`
|
||||
|
||||
// User only
|
||||
|
||||
CreatedAt UnixTimestamp `json:"created_at"`
|
||||
CreatedAt UnixTimestamp `json:"created_at,omitempty"`
|
||||
Timestamps *ActivityTimestamp `json:"timestamps,omitempty"`
|
||||
|
||||
ApplicationID Snowflake `json:"application_id,omitempty"`
|
||||
|
|
Loading…
Reference in a new issue