Class RestThreadUser
Represents a thread user received over the REST api.
public class RestThreadUser : RestEntity<ulong>, IEntity<ulong>, IThreadUser, IMentionable
- Inheritance
-
RestThreadUser
- Implements
- Inherited Members
Properties
Guild
Gets the guild this thread was created in.
public IGuild Guild { get; }
Property Value
GuildUser
Gets the IGuildUser on the server this thread was created in.
public RestGuildUser GuildUser { get; }
Property Value
Mention
Returns a special string used to mention this object.
public string Mention { get; }
Property Value
- string
A string that is recognized by Discord as a mention (e.g. <@168693960628371456>).
Thread
Gets the IThreadChannel this user is in.
public IThreadChannel Thread { get; }
Property Value
ThreadJoinedAt
Gets the timestamp for when this user joined this thread.
public DateTimeOffset ThreadJoinedAt { get; }
Property Value
Methods
GetGuildUser()
Gets the guild user for this thread user.
public Task<IGuildUser> GetGuildUser()
Returns
- Task<IGuildUser>
A task representing the asynchronous get operation. The task returns a IGuildUser that represents the current thread user.