Preview environment

interface APIConnection

export interface APIConnection

https://discord.com/developers/docs/resources/user#connection-object

friend_sync : boolean

Whether friend sync is enabled for this connection

id : string

ID of the connection account

optional
integrations? : Partial<APIGuildIntegration>[]

An array of partial server integrationsSee https://discord.com/developers/docs/resources/guild#integration-object

name : string

The username of the connection account

optional
revoked? : boolean

Whether the connection is revoked

show_activity : boolean

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

Whether this connection supports console voice transfer

The service of the connectionSee https://discord.com/developers/docs/resources/user#connection-object-services

verified : boolean

Whether the connection is verified

Visibility of this connectionSee https://discord.com/developers/docs/resources/user#connection-object-visibility-types