ThreadMember

export class ThreadMember<HasMemberData extends boolean = boolean> extends Base
export class ThreadMember<HasMemberData extends boolean = boolean> extends Base
Represents a Member for a Thread.

Extends

Base
NameConstraintsOptionalDefaultDescription
HasMemberDatabooleanYesbooleanNone
Readonly
client:Client<true>
The client that instantiated this
Inherited from Base
The flags for this thread member. This will be null if partial.
Readonly
guildMember:HasMemberData extends true ? GuildMember : GuildMember | null
The guild member associated with this thread member
The id of the thread member
Readonly
joinedAt:Date | null
The last time this member joined the thread
joinedTimestamp:number | null
The timestamp the member last joined the thread at
Readonly
manageable:boolean
Whether the client user can manage this thread member
Readonly
partial:false
Whether this thread member is a partial
The thread that this member is a part of
Readonly
user:User | null
The user associated with this thread member
remove(reason?):Promise<ThreadMember>
Removes this member from the thread.
NameTypeOptionalDescription
reasonstringYesReason for removing the member
toJSON(...props):unknown
NameTypeOptionalDescription
...propsRecord<string, boolean | string>[]NoNone
Inherited from Base
valueOf():string