Skip to content

Commit 9efaf06

Browse files
lipfangmoelipfang
andauthored
Specify that the additional partial member field is optional (#7678)
* Specify that the additional partial member field is optional * run fix-tables --------- Co-authored-by: lipfang <codeberg@lipfang.com>
1 parent 29d5d71 commit 9efaf06

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/events/gateway-events.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,11 +1003,11 @@ Sent when a message is created. The inner payload is a [message](/docs/resources
10031003

10041004
###### Message Create Extra Fields
10051005

1006-
| Field | Type | Description |
1007-
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
1008-
| guild_id? | snowflake | ID of the guild the message was sent in - unless it is an ephemeral message |
1009-
| member? | partial [guild member](/docs/resources/guild#guild-member-object) object | Member properties for this message's author. Missing for ephemeral messages and messages from webhooks |
1010-
| mentions | array of [user](/docs/resources/user#user-object) objects, with an additional partial [member](/docs/resources/guild#guild-member-object) field | Users specifically mentioned in the message |
1006+
| Field | Type | Description |
1007+
|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
1008+
| guild_id? | snowflake | ID of the guild the message was sent in - unless it is an ephemeral message |
1009+
| member? | partial [guild member](/docs/resources/guild#guild-member-object) object | Member properties for this message's author. Missing for ephemeral messages and messages from webhooks |
1010+
| mentions | array of [user](/docs/resources/user#user-object) objects, optionally with an additional partial [member](/docs/resources/guild#guild-member-object) field | Users specifically mentioned in the message |
10111011

10121012
#### Message Update
10131013

0 commit comments

Comments
 (0)