Table of Contents

Class MessagePollMedia

Namespace
NetCord
Assembly
NetCord.dll

Represents the media displayed within a poll.

public class MessagePollMedia : IJsonModel<JsonMessagePollMedia>
Inheritance
MessagePollMedia
Implements
Inherited Members

Constructors

MessagePollMedia(JsonMessagePollMedia)

public MessagePollMedia(JsonMessagePollMedia jsonModel)

Parameters

jsonModel JsonMessagePollMedia

Properties

Emoji

The emoji to display in the poll. Only supported for answers.

public EmojiReference? Emoji { get; }

Property Value

EmojiReference

Text

The text to display in the poll, up to 300 characters.

public string? Text { get; }

Property Value

string