DiscordConnection

data class DiscordConnection(val id: String, val name: String, val type: String, val revoked: OptionalBoolean = OptionalBoolean.Missing, val integrations: Optional<List<DiscordIntegration>> = Optional.Missing(), val verified: Boolean, val friendSync: Boolean, val showActivity: Boolean, val visibility: DiscordConnectionVisibility)(source)

A representation of the DDiscord Connection Object structure. The connection object that the user has attached.

Parameters

id

The id of the connection account.

name

the username of the connection account.

type

The service of the connection (twitch, youtube).

revoked

Whether the connection is revoked.

integrations

A list of partial server integrations.

verified

Whether the connection is verified.

friendSync

Whether friend sync is enabled for this connection.

showActivity

Whether activities related to this connection will be shown in presence updates.

visibility

The visibility of this connection.

Constructors

Link copied to clipboard
constructor(id: String, name: String, type: String, revoked: OptionalBoolean = OptionalBoolean.Missing, integrations: Optional<List<DiscordIntegration>> = Optional.Missing(), verified: Boolean, friendSync: Boolean, showActivity: Boolean, visibility: DiscordConnectionVisibility)

Properties

Link copied to clipboard
@SerialName(value = "friend_sync")
val friendSync: Boolean
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "show_activity")
val showActivity: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard