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
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:
        id: The universe social link ID.
    """

    def __init__(self, client: Client, social_link_id: int):
        """
        Arguments:
            client: The Client this object belongs to.
            social_link_id: The universe social link ID.
        """

        self._client: Client = client
        self.id: int = social_link_id

__init__(self, client: Client, social_link_id: int) special

Parameters:

Name Type Description Default
client Client

The Client this object belongs to.

required
social_link_id int

The universe social link ID.

required
Source code in roblox/bases/basesociallink.py
def __init__(self, client: Client, social_link_id: int):
    """
    Arguments:
        client: The Client this object belongs to.
        social_link_id: The universe social link ID.
    """

    self._client: Client = client
    self.id: int = social_link_id