Table of Contents

Class WebhookOptions

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class WebhookOptions
Inheritance
WebhookOptions
Inherited Members

Properties

Avatar

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("avatar")]
public ImageProperties? Avatar { get; set; }

Property Value

ImageProperties?

ChannelId

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("channel_id")]
public ulong? ChannelId { get; set; }

Property Value

ulong?

Name

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string

Methods

WithAvatar(ImageProperties?)

public WebhookOptions WithAvatar(ImageProperties? avatar)

Parameters

avatar ImageProperties?

Returns

WebhookOptions

WithChannelId(ulong?)

public WebhookOptions WithChannelId(ulong? channelId)

Parameters

channelId ulong?

Returns

WebhookOptions

WithName(string?)

public WebhookOptions WithName(string? name)

Parameters

name string

Returns

WebhookOptions