Skip to content

baseconversation

This file contains the BaseConversation object, which represents a Roblox conversation ID.

BaseConversation

Bases: BaseItem

Represents a Roblox chat conversation ID.

Attributes:

Name Type Description
id int

The conversation ID.

Source code in roblox/bases/baseconversation.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
class BaseConversation(BaseItem):
    """
    Represents a Roblox chat conversation ID.

    Attributes:
        id: The conversation ID.
    """

    def __init__(self, client: Client, conversation_id: int):
        """
        Arguments:
            client: The Client this object belongs to.
            conversation_id: The conversation ID.
        """

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

__init__(client, conversation_id)

Parameters:

Name Type Description Default
client Client

The Client this object belongs to.

required
conversation_id int

The conversation ID.

required
Source code in roblox/bases/baseconversation.py
24
25
26
27
28
29
30
31
32
def __init__(self, client: Client, conversation_id: int):
    """
    Arguments:
        client: The Client this object belongs to.
        conversation_id: The conversation ID.
    """

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