Preview environment

class Typing

extends

Base
export class Typing extends Base

Represents a typing state for a user in a channel.

The channel the status is from

readonly
client : Client<true>

The client that instantiated this

Inherited from: Base

readonly
guild : Guild | null

The guild the status is from

readonly
member : GuildMember | null

The member who is typing

readonly
startedAt : Date

The time the user started typing at

startedTimestamp : number

The UNIX timestamp in milliseconds the user started typing at

user : User | PartialUser

The user who is typing

inGuild() : this is this & { channel: TextChannel | NewsChannel | ThreadChannel; get guild(): Guild; }

Indicates whether the status is received from a guild.

toJSON(
...props: Record<string, boolean | string>[]
) : unknown

Inherited from: Base

valueOf() : string

Inherited from: Base