APIApplicationRoleConnection

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

Signature

export interface APIApplicationRoleConnection

Properties

3

Methods

0

No methods.

Properties

platform_name: string | null;

The vanity name of the platform a bot has connected (max 50 characters)

platform_username: string | null;

The username on the platform a bot has connected (max 100 characters)

metadata: Record<string, number | string>;

Object mapping application role connection metadata keys to their `string`-ified value (max 100 characters) for the user on the platform a bot has connected