Skip to content

basesociallink

This file contains the BaseUniverseSocialLink object, which represents a Roblox social link ID.

Represents a Roblox universe social link ID.

Attributes:

Name Type Description
_shared ClientSharedObject

The ClientSharedObject.

id int

The universe social link ID.

Source code in roblox/bases/basesociallink.py
class BaseUniverseSocialLink(BaseItem):
    """
    Represents a Roblox universe social link ID.

    Attributes:
        _shared: The ClientSharedObject.
        id: The universe social link ID.
    """

    def __init__(self, shared: ClientSharedObject, social_link_id: int):
        """
        Arguments:
            shared: The ClientSharedObject.
            social_link_id: The universe social link ID.
        """

        self._shared: ClientSharedObject = shared
        self.id: int = social_link_id

__init__(self, shared: ClientSharedObject, social_link_id: int) special

Parameters:

Name Type Description Default
shared ClientSharedObject

The ClientSharedObject.

required
social_link_id int

The universe social link ID.

required
Source code in roblox/bases/basesociallink.py
def __init__(self, shared: ClientSharedObject, social_link_id: int):
    """
    Arguments:
        shared: The ClientSharedObject.
        social_link_id: The universe social link ID.
    """

    self._shared: ClientSharedObject = shared
    self.id: int = social_link_id