Skip to content

Commit 609d231

Browse files
authored
Specify that the additional partial member field is optional
1 parent 424079c commit 609d231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/events/gateway-events.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ Sent when a message is created. The inner payload is a [message](/docs/resources
10011001
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
10021002
| guild_id? | snowflake | ID of the guild the message was sent in - unless it is an ephemeral message |
10031003
| 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 |
1004-
| 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 |
1004+
| 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 |
10051005

10061006
#### Message Update
10071007

0 commit comments

Comments
 (0)