Inherits td::td_api::CallServerType.
|
string | username_ |
| Username to be used for authentication.
|
|
string | password_ |
| Authentication password.
|
|
bool | supports_turn_ |
| True, if the server supports TURN.
|
|
bool | supports_stun_ |
| True, if the server supports STUN.
|
|
|
static const std::int32_t | ID = 1250622821 |
| Identifier uniquely determining a type of the object.
|
|
◆ callServerTypeWebrtc() [1/2]
td::td_api::callServerTypeWebrtc::callServerTypeWebrtc |
( |
| ) |
|
◆ callServerTypeWebrtc() [2/2]
td::td_api::callServerTypeWebrtc::callServerTypeWebrtc |
( |
string const & |
username_, |
|
|
string const & |
password_, |
|
|
bool |
supports_turn_, |
|
|
bool |
supports_stun_ |
|
) |
| |
A WebRTC server.
- Parameters
-
[in] | username_ | Username to be used for authentication. |
[in] | password_ | Authentication password. |
[in] | supports_turn_ | True, if the server supports TURN. |
[in] | supports_stun_ | True, if the server supports STUN. |
◆ get_id()
std::int32_t td::td_api::callServerTypeWebrtc::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::callServerTypeWebrtc::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: