DiscordGuildJoinRequest

data class DiscordGuildJoinRequest(val id: Snowflake, val joinRequestId: Snowflake, val createdAt: Instant, val applicationStatus: GuildJoinRequestStatus, val guildId: Snowflake, val formResponses: Optional<List<DiscordMemberVerificationFormField>?> = Optional.Missing(), val lastSeen: Instant?, val actionedAt: OptionalSnowflake = OptionalSnowflake.Missing, val actionedByUser: Optional<DiscordUser> = Optional.Missing(), val rejectionReason: String?, val userId: Snowflake, val user: Optional<DiscordUser> = Optional.Missing(), val interviewChannelId: Snowflake?)(source)

A representation of a Discord Guild Join Request structure

Parameters

id
joinRequestId

The ID of the join request

createdAt

When the join request was created

applicationStatus

The GuildJoinRequestStatus

guildId

The ID of the guild this join request is for

formResponses

A list of DiscordMemberVerificationFormField responses from the guild member

lastSeen

When the request was acknowledged by the user

actionedAt

A snowflake representing when the join request was actioned

actionedByUser

The moderator who actioned the join request

rejectionReason

Why the join request was rejected

userId

The ID of the user who created the join request

user

The user who created the join request

interviewChannelId

The ID of the channel where an interview regarding the request can be conducted

Constructors

Link copied to clipboard
constructor(id: Snowflake, joinRequestId: Snowflake, createdAt: Instant, applicationStatus: GuildJoinRequestStatus, guildId: Snowflake, formResponses: Optional<List<DiscordMemberVerificationFormField>?> = Optional.Missing(), lastSeen: Instant?, actionedAt: OptionalSnowflake = OptionalSnowflake.Missing, actionedByUser: Optional<DiscordUser> = Optional.Missing(), rejectionReason: String?, userId: Snowflake, user: Optional<DiscordUser> = Optional.Missing(), interviewChannelId: Snowflake?)

Properties

Link copied to clipboard
@SerialName(value = "actioned_at")
val actionedAt: OptionalSnowflake
Link copied to clipboard
@SerialName(value = "actioned_by_user")
val actionedByUser: Optional<DiscordUser>
Link copied to clipboard
@SerialName(value = "application_status")
val applicationStatus: GuildJoinRequestStatus
Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: Instant
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "guild_id")
val guildId: Snowflake
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "interview_channel_id")
val interviewChannelId: Snowflake?
Link copied to clipboard
@SerialName(value = "join_request_id")
val joinRequestId: Snowflake
Link copied to clipboard
@SerialName(value = "last_seen")
val lastSeen: Instant?
Link copied to clipboard
@SerialName(value = "rejection_reason")
val rejectionReason: String?
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "user_id")
val userId: Snowflake