lavalink_rs.model.http
class
UpdatePlayer:
Updates or creates the player for this guild.
If every field is None, the player will stop playing.
identifier: Optional[str]
The identifier of the track to play.
Mutually exclusive with encoded_track
.
position: Optional[int]
The track position in milliseconds.
This value can be set to start a track at a specific time.
end_time: Optional[int]
The track end time in milliseconds.
It must be a value above 0 or None.
None resets this if it was set previously.
class
ResumingState:
Updates the session with the resuming state and timeout.
You must call this method if you wish to restart the discord bot without having all players
stop, and provide the current session_id
when creating the node connection.
class
Info:
Information about the Lavalink node.
class
Git:
class
Plugin:
class
Version:
Check out Semantic Versioning 2.0.0 to know what these fields mean.