|
TDLib
|
Inherits td::td_api::CallState.
Public Member Functions | |
| callStateReady () | |
| callStateReady (object_ptr< callProtocol > &&protocol_, array< object_ptr< callServer > > &&servers_, string const &config_, bytes const &encryption_key_, array< string > &&emojis_, bool allow_p2p_) | |
| std::int32_t | get_id () const final |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Member Functions inherited from td::TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| object_ptr< callProtocol > | protocol_ |
| Call protocols supported by the peer. | |
| array< object_ptr< callServer > > | servers_ |
| List of available call servers. | |
| string | config_ |
| A JSON-encoded call config. | |
| bytes | encryption_key_ |
| Call encryption key. | |
| array< string > | emojis_ |
| Encryption key emojis fingerprint. | |
| bool | allow_p2p_ |
| True, if peer-to-peer connection is allowed by users privacy settings. | |
Static Public Attributes | |
| static const std::int32_t | ID = -2000107571 |
| Identifier uniquely determining a type of the object. | |
The call is ready to use.
| td::td_api::callStateReady::callStateReady | ( | ) |
The call is ready to use.
| td::td_api::callStateReady::callStateReady | ( | object_ptr< callProtocol > && | protocol_, |
| array< object_ptr< callServer > > && | servers_, | ||
| string const & | config_, | ||
| bytes const & | encryption_key_, | ||
| array< string > && | emojis_, | ||
| bool | allow_p2p_ | ||
| ) |
The call is ready to use.
| [in] | protocol_ | Call protocols supported by the peer. |
| [in] | servers_ | List of available call servers. |
| [in] | config_ | A JSON-encoded call config. |
| [in] | encryption_key_ | Call encryption key. |
| [in] | emojis_ | Encryption key emojis fingerprint. |
| [in] | allow_p2p_ | True, if peer-to-peer connection is allowed by users privacy settings. |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
Implements td::TlObject.
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.