GuildScheduledSubscriber
A subscriber of a guild scheduled event. Discord exposes event subscribers as `{guild_scheduled_event_id, user, member? }` rows. This structure keeps those rows addressable without forcing a full member fetch. https://docs.discord.com/developers/resources/guild-scheduled-event#guild-scheduled-event-user-object-guild-scheduled-event-user-structure
Signature
export declare class GuildScheduledSubscriber extends DiscordBaseProperties
8Methods
1Properties
readonly guildId: string;user: UserStructure;member?: GuildMemberStructure;eventId: string;id: string;createdTimestampGetterget createdTimestamp(): number;Create a timestamp for the current object.
createdAtGetterget createdAt(): Date;createdAt gets the creation Date instace of the current object.
readonly client: UsingClient;Methods
constructorConstructorconstructor(client: UsingClient, data: APIGuildScheduledEventUser, guildId: string);