conversations
Contains objects related to Roblox chat conversations.
Conversation
¶
Bases: BaseConversation
Represents a Roblox chat conversation.
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
Chat conversation ID. |
title |
str
|
Chat conversation title. |
initiator |
PartialUser
|
Conversation initiator entity. |
has_unread_messages |
bool
|
Whether the conversation have any unread messages. |
participants |
List[PartialUser]
|
Participants involved in the conversation. |
conversation_type |
ConversationType
|
Type of the conversation. |
conversation_title |
ConversationTitle
|
Specifies if the conversation title is generated by default. |
last_updated |
datetime
|
Specifies the datetime when the conversation was last updated. |
conversation_universe |
Optional[ChatPartialUniverse]
|
Specifies the universe associated with the conversation. |
Source code in roblox/conversations.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
|
__init__(client, data)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
client |
Client
|
The Client object. |
required |
data |
dict
|
The conversation data. |
required |
Source code in roblox/conversations.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
|
ConversationTitle
¶
A chat conversation's title.
Attributes:
Name | Type | Description |
---|---|---|
title_for_viewer |
str
|
Specifies the title for the conversation specific to the viewer. |
is_default_title |
bool
|
Specifies if the title displayed for the user is generated as a default title or was edited by the user. |
Source code in roblox/conversations.py
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|
__init__(data)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data |
dict
|
The raw input data. |
required |
Source code in roblox/conversations.py
48 49 50 51 52 53 54 |
|
ConversationType
¶
Bases: Enum
A chat conversation's type.
Source code in roblox/conversations.py
25 26 27 28 29 30 31 32 33 34 35 |
|
cloud_edit_conversation = 'CloudEditConversation'
class-attribute
instance-attribute
¶
Represents a chat in a team-create session.
multi_user_conversation = 'MultiUserConversation'
class-attribute
instance-attribute
¶
Represents a chat with multiples users on the website.
one_to_one_conversation = 'OneToOneConversation'
class-attribute
instance-attribute
¶
Represents a one-to-one conversation with person A and B.