feat(docs): document nullability of system/member keys in message object

This commit is contained in:
spiral 2022-01-11 09:55:37 -05:00
parent e73af85e5c
commit 56c3d6057e
No known key found for this signature in database
GPG Key ID: A6059F0CA0E1BD31
2 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,8 @@ permalink: /api/changelog
# Version history # Version history
* 2022-01-11
* Member / system keys in message object are now nullable.
* 2021-11-07 (v2) * 2021-11-07 (v2)
* API v2 has been released. API v1 is now deprecated. * API v2 has been released. API v1 is now deprecated.
* 2020-07-28 * 2020-07-28

View File

@ -96,8 +96,8 @@ Every PluralKit entity has two IDs: a short (5-character) ID and a longer UUID.
|sender|snowflake|The user ID of the account that triggered the proxy. Encoded as string for precision reasons.| |sender|snowflake|The user ID of the account that triggered the proxy. Encoded as string for precision reasons.|
|channel|snowflake|The ID of the channel the message was sent in. Encoded as string for precision reasons.| |channel|snowflake|The ID of the channel the message was sent in. Encoded as string for precision reasons.|
|guild|snowflake|The ID of the server the message was sent in. Encoded as string for precision reasons.| |guild|snowflake|The ID of the server the message was sent in. Encoded as string for precision reasons.|
|system|full System object|The system that proxied the message.| |system?|full System object|The system that proxied the message. Null if the member associated with this message was deleted.|
|member|full Member object|The member that proxied the message.| |member?|full Member object|The member that proxied the message. Null if the member associated with this message was deleted.|
### System settings model ### System settings model