Skip to main content

Class RestThreadUser

Represents a thread user received over the REST api.

Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public class RestThreadUser : RestEntity<ulong>, IEntity<ulong>

Properties​

Thread​

Gets the Discord.Rest.RestThreadChannel this user is in.

View Source​
Declaration
public IThreadChannel Thread { get; }

JoinedAt​

Gets the timestamp for when this user joined this thread.

View Source​
Declaration
public DateTimeOffset JoinedAt { get; }

Guild​

Gets the guild this user is in.

View Source​
Declaration
public IGuild Guild { get; }

Methods​

GetGuildUser()​

Gets the guild user for this thread user.

View Source​
Declaration
public Task<IGuildUser> GetGuildUser()
Returns​

System.Threading.Tasks.Task<Discord.IGuildUser>: A task representing the asynchronous get operation. The task returns a Discord.IGuildUser that represents the current thread user.

Implements​