Table of Contents

Class NonceProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
[JsonConverter(typeof(NonceProperties.NoncePropertiesConverter))]
public class NonceProperties
Inheritance
NonceProperties
Inherited Members

Constructors

NonceProperties(long)

public NonceProperties(long l)

Parameters

l long

NonceProperties(string)

public NonceProperties(string s)

Parameters

s string

Properties

Unique

If true, the nonce will be checked for uniqueness in the past few minutes. If another message was created by the same author with the same nonce, that message will be returned and no new message will be created.

public bool Unique { get; set; }

Property Value

bool

Methods

WithUnique(bool)

If true, the nonce will be checked for uniqueness in the past few minutes. If another message was created by the same author with the same nonce, that message will be returned and no new message will be created.

public NonceProperties WithUnique(bool unique = true)

Parameters

unique bool

Returns

NonceProperties

Operators

implicit operator NonceProperties(long)

public static implicit operator NonceProperties(long l)

Parameters

l long

Returns

NonceProperties

implicit operator NonceProperties(string)

public static implicit operator NonceProperties(string s)

Parameters

s string

Returns

NonceProperties