Skip to content

basesociallink

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

Bases: BaseItem

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
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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__(client, social_link_id)

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
24
25
26
27
28
29
30
31
32
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