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:
parent
9809321f6f
commit
dffb6400fe
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue