Package org.drinkless.tdlib

# Class TdApi.CallServerTypeWebrtc

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.CallServerType
org.drinkless.tdlib.TdApi.CallServerTypeWebrtc

Enclosing class:
  `TdApi`

public static class TdApi.CallServerTypeWebrtc extends TdApi.CallServerType
A WebRTC server.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.CallServerType

  `TdApi.CallServerType.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `String`
  `password`
  Authentication password.
  `boolean`
  `supportsStun`
  True, if the server supports STUN.
  `boolean`
  `supportsTurn`
  True, if the server supports TURN.
  `String`
  `username`
  Username to be used for authentication.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CallServerTypeWebrtc()`
  A WebRTC server.
  `CallServerTypeWebrtc(String username, String password, boolean supportsTurn, boolean supportsStun)`
  A WebRTC server.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### username

    public String username
    Username to be used for authentication.

  - ### password

    public String password
    Authentication password.

  - ### supportsTurn

    public boolean supportsTurn
    True, if the server supports TURN.

  - ### supportsStun

    public boolean supportsStun
    True, if the server supports STUN.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### CallServerTypeWebrtc

    public CallServerTypeWebrtc()
    A WebRTC server.

  - ### CallServerTypeWebrtc

    public CallServerTypeWebrtc(String username, String password, boolean supportsTurn, boolean supportsStun)
    A WebRTC server.
    Parameters:
      `username` - Username to be used for authentication.
      `password` - Authentication password.
      `supportsTurn` - True, if the server supports TURN.
      `supportsStun` - True, if the server supports STUN.

- ## Method Details

  - ### getConstructor

    public int getConstructor()
    Description copied from class: `TdApi.Object`
    Returns an identifier uniquely determining type of the object.
    Specified by:
      `getConstructor` in class `TdApi.CallServerType`
    Returns:
      this.CONSTRUCTOR