Interface GatewayEvent_ServerMemberSocialLinkCreated

interface GatewayEvent_ServerMemberSocialLinkCreated {
    serverId: string;
    socialLink: {
        createdAt: string;
        handle?: string;
        serviceId?: string;
        type: SocialLinkType;
        userId: string;
    };
}

Properties

Properties

serverId: string

The ID of the server

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

Type declaration

  • 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