GuildMemberAddRequest

data class GuildMemberAddRequest(val token: String, val nick: Optional<String> = Optional.Missing(), val roles: Optional<Set<Snowflake>> = Optional.Missing(), val mute: OptionalBoolean = OptionalBoolean.Missing, val deaf: OptionalBoolean = OptionalBoolean.Missing, val communicationDisabledUntil: Optional<Instant> = Optional.Missing())(source)

Constructors

Link copied to clipboard
constructor(token: String, nick: Optional<String> = Optional.Missing(), roles: Optional<Set<Snowflake>> = Optional.Missing(), mute: OptionalBoolean = OptionalBoolean.Missing, deaf: OptionalBoolean = OptionalBoolean.Missing, communicationDisabledUntil: Optional<Instant> = Optional.Missing())

Properties

Link copied to clipboard
@SerialName(value = "communication_disabled_until")
val communicationDisabledUntil: Optional<Instant>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "access_token")
val token: String