RESTPutAPICurrentUserApplicationRoleConnectionJSONBody

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

Signature

export interface RESTPutAPICurrentUserApplicationRoleConnectionJSONBody

Properties

3

Methods

0

No methods.

Properties

platform_name?: string | undefined;

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

platform_username?: string | undefined;

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

metadata?: Record<string, number | string> | undefined;

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