Table of Contents

Class MessagePollMediaProperties

Namespace
NetCord
Assembly
NetCord.dll
public class MessagePollMediaProperties
Inheritance
MessagePollMediaProperties
Inherited Members

Constructors

MessagePollMediaProperties()

public MessagePollMediaProperties()

Properties

Emoji

[JsonPropertyName("emoji")]
public EmojiProperties? Emoji { get; set; }

Property Value

EmojiProperties

Text

[JsonPropertyName("text")]
public string? Text { get; set; }

Property Value

string

Methods

WithEmoji(EmojiProperties?)

public MessagePollMediaProperties WithEmoji(EmojiProperties? emoji)

Parameters

emoji EmojiProperties

Returns

MessagePollMediaProperties

WithText(string?)

public MessagePollMediaProperties WithText(string? text)

Parameters

text string

Returns

MessagePollMediaProperties