Class VoiceServerInfo

java.lang.Object
moe.kyokobot.koe.VoiceServerInfo

public class VoiceServerInfo extends Object
Represents connection information for a Discord voice server. This class stores combination of data from VOICE_STATE_UPDATE and VOICE_SERVER_UPDATE required to establish a voice connection.
See Also:
  • Method Details

    • getSessionId

      @NotNull public @NotNull String getSessionId()
    • getEndpoint

      @NotNull public @NotNull String getEndpoint()
    • getToken

      @NotNull public @NotNull String getToken()
    • getChannelId

      public long getChannelId()
    • builder

      @NotNull public static @NotNull VoiceServerInfo.Builder builder()