Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 6.21 KB

connection.md

File metadata and controls

32 lines (27 loc) · 6.21 KB

Connection

Example Usage

import { Connection } from "@steamsets/client-ts/models/components";

let value: Connection = {
  avatar:
    "https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/avatars/f1/f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9.jpg",
  connectionId: "123456",
  externalId: "123456",
  failed: true,
  hide: true,
  name: "steamsets",
  provider: "discord",
  verified: true,
};

Fields

Field Type Required Description Example
avatar string ✔️ The avatar of the connected account https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/avatars/f1/f1a1d2c3d0c9d1e1f2f3f4f5f6f7f8f9.jpg
connectionId string ✔️ The public id of the connection 123456
externalId string ✔️ The external id of the connected account 123456
failed boolean ✔️ Whether the connection has failed to refresh or not true
hide boolean ✔️ Whether the connection should be hidden or not true
name string ✔️ The name of the connected account steamsets
provider components.ConnectionProvider ✔️ The provider to connect with discord
verified boolean ✔️ Whether the connection has been verified or not true