APIConnection

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

Signature

export interface APIConnection

Properties

id: string;

ID of the connection account

name: string;

The username of the connection account

type: ConnectionService;

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

revoked?: boolean;

Whether the connection is revoked

integrations?: Partial<APIGuildIntegration>[];

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

verified: boolean;

Whether the connection is verified

friend_sync: boolean;

Whether friend sync is enabled for this connection

show_activity: boolean;

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

visibility: ConnectionVisibility;

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