Inherits Function.
Encrypts group call data before sending them over network using tgcalls.
Returns object_ptr<Data>.
Public Fields | |
int32 | group_call_id_ |
Group call identifier. The call must not be a video chat. | |
object_ptr< GroupCallDataChannel > | data_channel_ |
Data channel for which data is encrypted. | |
bytes | data_ |
Data to encrypt. | |
int32 | unencrypted_prefix_size_ |
Size of data prefix that must be kept unencrypted. | |
Public Types | |
using | ReturnType = object_ptr< data > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
encryptGroupCallData () | |
encryptGroupCallData (int32 group_call_id_, object_ptr< GroupCallDataChannel > &&data_channel_, bytes const &data_, int32 unencrypted_prefix_size_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
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 |
Static Public Attributes | |
static const std::int32_t | ID = -377997690 |
Identifier uniquely determining a type of the object. | |
Default constructor for a function, which encrypts group call data before sending them over network using tgcalls.
Returns object_ptr<Data>.
encryptGroupCallData | ( | int32 | group_call_id_, |
object_ptr< GroupCallDataChannel > && | data_channel_, | ||
bytes const & | data_, | ||
int32 | unencrypted_prefix_size_ | ||
) |
Creates a function, which encrypts group call data before sending them over network using tgcalls.
Returns object_ptr<Data>.
[in] | group_call_id_ | Group call identifier. The call must not be a video chat. |
[in] | data_channel_ | Data channel for which data is encrypted. |
[in] | data_ | Data to encrypt. |
[in] | unencrypted_prefix_size_ | Size of data prefix that must be kept unencrypted. |
|
finalvirtual |