1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-06-19 01:31:13 +00:00

discord: Add ThreadMetadata.CreateTimestamp field

This commit is contained in:
diamondburned 2024-01-01 16:40:31 -08:00
parent 9809321f6f
commit dffb6400fe
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -310,6 +310,9 @@ type ThreadMetadata struct {
// Invitable specifies whether non-moderators can add other
// non-moderators to a thread; only available on private threads.
Invitable bool `json:"invitable,omitempty"`
// CreateTimestamp is the timestamp when the thread was created; only
// populated for threads created after 2022-01-09.
CreateTimestamp *Timestamp `json:"thread_metadata,omitempty"`
}
type ThreadMember struct {