Class: TD::Types::CallServerType::Webrtc

Inherits:
TD::Types::CallServerType show all
Defined in:
lib/tdlib/types/call_server_type/webrtc.rb

Overview

A WebRTC server.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#passwordTD::Types::String

Authentication password.

Returns:

  • (TD::Types::String)

    the current value of password



8
9
10
# File 'lib/tdlib/types/call_server_type/webrtc.rb', line 8

def password
  @password
end

#supports_stunBoolean

True, if the server supports STUN.

Returns:

  • (Boolean)

    the current value of supports_stun



8
9
10
# File 'lib/tdlib/types/call_server_type/webrtc.rb', line 8

def supports_stun
  @supports_stun
end

#supports_turnBoolean

True, if the server supports TURN.

Returns:

  • (Boolean)

    the current value of supports_turn



8
9
10
# File 'lib/tdlib/types/call_server_type/webrtc.rb', line 8

def supports_turn
  @supports_turn
end

#usernameTD::Types::String

Username to be used for authentication.

Returns:

  • (TD::Types::String)

    the current value of username



8
9
10
# File 'lib/tdlib/types/call_server_type/webrtc.rb', line 8

def username
  @username
end