Table of Contents

Class WebhookProperties

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

Constructors

WebhookProperties(string)

public WebhookProperties(string name)

Parameters

name string

Properties

Avatar

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

Property Value

ImageProperties?

Name

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string

Methods

WithAvatar(ImageProperties?)

public WebhookProperties WithAvatar(ImageProperties? avatar)

Parameters

avatar ImageProperties?

Returns

WebhookProperties

WithName(string)

public WebhookProperties WithName(string name)

Parameters

name string

Returns

WebhookProperties