Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions developers/resources/user.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,11 @@ The role connection object that an application has attached to a user.
<ManualAnchor id="application-role-connection-object-application-role-connection-structure" />
###### Application Role Connection Structure

| Field | Type | Description |
|---------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| platform_name | ?string | the vanity name of the platform a bot has connected (max 50 characters) |
| metadata | object | object mapping [application role connection metadata](/developers/resources/application-role-connection-metadata#application-role-connection-metadata-object) keys to their `string`-ified value (max 100 characters) for the user on the platform a bot has connected |
| Field | Type | Description |
|--------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| platform_name? | ?string | the vanity name of the platform a bot has connected (max 50 characters) |
| platform_username? | ?string | the username on the platform a bot has connected (max 100 characters) |
| metadata? | object | object mapping [application role connection metadata](/developers/resources/application-role-connection-metadata#application-role-connection-metadata-object) keys to their `string`-ified value (max 100 characters) for the user on the platform a bot has connected |

## Get Current User
<Route method="GET">/users/@me</Route>
Expand Down