diff --git a/types.go b/types.go index d11c392..0976981 100644 --- a/types.go +++ b/types.go @@ -1,5 +1,7 @@ package discordwebhook +import "time" + type Message struct { Username *string `json:"username,omitempty"` AvatarUrl *string `json:"avatar_url,omitempty"` @@ -18,6 +20,7 @@ type Embed struct { Thumbnail *Thumbnail `json:"thumbnail,omitempty"` Image *Image `json:"image,omitempty"` Footer *Footer `json:"footer,omitempty"` + Timestamp *time.Time `json:"timestamp,omitempty"` } type Author struct {