Skip to content

baseconversation

roblox.bases.baseconversation

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

BaseConversation (BaseItem)

Represents a Roblox chat conversation ID.

Attributes:

Name Type Description
id int

The conversation ID.

Source code in roblox/bases/baseconversation.py
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__(self, client: Client, conversation_id: int) special

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
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