Table of Contents

Property Message

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Message

Gets the message that the poll is attached to.

[JsonIgnore]
public DiscordMessage? Message { get; }

Property Value

DiscordMessage

Remarks

This property attempts to pull the associated message from cache, which relies on a cache provider being enabled in the client. If no cache provider is enabled, this property will always return null.