Skip to content

Missing 'type' field in replies to messages with a snapshot #7814

@muddyfish

Description

@muddyfish

Description

The documentation for message snapshots, state that the subset of message fields serialised is a bunch of stuff, but when you have this structure: message["referenced_message"]["message_snapshots"][0]["message"], the only fields that are serialised are ['attachments', 'content', 'edited_timestamp', 'embeds', 'flags', 'timestamp'].

Steps to Reproduce

  1. Forward a message
  2. Reply to the forwarded message
  3. Receive the message from the gateway

Expected Behavior

The message serialised in message["referenced_message"]["message_snapshots"][0]["message"] includes the type field at minimum

Current Behavior

The message serialised in message["referenced_message"]["message_snapshots"][0]["message"] will have the following fields only, and omits type as well as various other fields that are mentioned in the docs: ['attachments', 'content', 'edited_timestamp', 'embeds', 'flags', 'timestamp']

Screenshots/Videos

Image

Client and System Information

discord.py, reproduces with curl

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions