Skip to main content
Module

x/discord_api_types/v9.ts>RESTPutAPICurrentUserApplicationRoleConnectionJSONBody

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTPutAPICurrentUserApplicationRoleConnectionJSONBody
import { type RESTPutAPICurrentUserApplicationRoleConnectionJSONBody } from "https://deno.land/x/discord_api_types@0.37.82/v9.ts";

Properties

optional
platform_name: string | undefined

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

optional
platform_username: string | undefined

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

optional
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