discord / discord-api-docs

Official Discord API Documentation
https://discord.com/developers/docs/intro
Other
5.89k stars 1.24k forks source link

GroupDM Channels from invites return overly-partial users in the recipients array #4572

Open onerandomusername opened 2 years ago

onerandomusername commented 2 years ago

Description

https://discord.com/developers/docs/resources/channel#channel-object-channel-structure

image Users provided in the array should have all non-optional data.

Steps to Reproduce

Expected Behavior

The recipients array has full user objects

Current Behavior

A very minimal recipients array with only usernames

Screenshots/Videos

image

Client and System Information

any

night commented 2 years ago

Thanks for the report. This appears to be an explicit limitation to prevent serialization of more than the username for channel recipients. I do not see this changing, but we can probably improve documentation around this.