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

The ClientSharedObject.

id int

The conversation ID.

Source code in roblox/bases/baseconversation.py
class BaseConversation(BaseItem):
    """
    Represents a Roblox chat conversation ID.

    Attributes:
        _shared: The ClientSharedObject.
        id: The conversation ID.
    """

    def __init__(self, shared: ClientSharedObject, conversation_id: int):
        """
        Arguments:
            shared: The ClientSharedObject.
            conversation_id: The conversation ID.
        """

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

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

Parameters:

Name Type Description Default
shared ClientSharedObject

The ClientSharedObject.

required
conversation_id int

The conversation ID.

required
Source code in roblox/bases/baseconversation.py
def __init__(self, shared: ClientSharedObject, conversation_id: int):
    """
    Arguments:
        shared: The ClientSharedObject.
        conversation_id: The conversation ID.
    """

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