User's social link.

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • data: {
          createdAt: string;
          handle?: string;
          serviceId?: string;
          type: SocialLinkType;
          userId: string;
      }

      raw data

      • createdAt: string

        Created at Format: date-time

        The ISO 8601 timestamp that the social link was created at

      • Optionalhandle?: string

        The handle of the user within the external service

      • OptionalserviceId?: string

        The unique ID that represents this member's social link within the external service

      • type: SocialLinkType

        Social link type

        The type of social link that Guilded supports. Depending on this value, handle or serviceId may or may not be present

      • userId: string

        User ID Format: user-id

        The ID of the user that the social link is associated with

    • client: Client

      client

    Returns SocialLink

Properties

createdAt: Date

The date the social link was created at

handle: null | string

The handle of the user within the external service

serviceID: null | string

The unique ID that represents this member's social link within the external service

type: PathsServersServerIdMembersUserIdSocialLinksSocialLinkTypeGetParametersPathSocialLinkType

Social media name ¯\_(ツ)_/¯

userID: string

ID of the user having this social linked to their profile.

Accessors

  • get user(): null | User
  • Retrieve cached user.

    Returns null | User

Methods