Chat
Chat(api, subsonic)
Class that contains all the methods needed to interact with the chat endpoints in the Subsonic API.
Source code in .venv/lib/python3.11/site-packages/knuckles/_chat.py
add_chat_message(message)
Add chat message.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
message |
str
|
The message content to add. |
required |
Returns:
Type | Description |
---|---|
Subsonic
|
The Subsonic object where this method was called to allow method chaining. |
Source code in .venv/lib/python3.11/site-packages/knuckles/_chat.py
get_chat_messages()
Get all send chat messages.
Returns:
Type | Description |
---|---|
list[ChatMessage]
|
A list with all the messages info. |