tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::encryptGroupCallData Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::encryptGroupCallData:
td::td_api::Function td::TlObject

Public Types

using ReturnType = object_ptr< data >
 Typedef for the type returned by the function.
 

Public Member Functions

 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
 
- 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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

int32 group_call_id_
 Group call identifier. The call must not be a video chat.
 
object_ptr< GroupCallDataChanneldata_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.
 

Static Public Attributes

static const std::int32_t ID = -377997690
 Identifier uniquely determining a type of the object.
 

Detailed Description

Encrypts group call data before sending them over network using tgcalls.

Returns object_ptr<Data>.

Definition at line 99378 of file td_api.h.

Member Typedef Documentation

◆ ReturnType

Typedef for the type returned by the function.

Definition at line 99420 of file td_api.h.

Constructor & Destructor Documentation

◆ encryptGroupCallData() [1/2]

td::td_api::encryptGroupCallData::encryptGroupCallData ( )

Default constructor for a function, which encrypts group call data before sending them over network using tgcalls.

Returns object_ptr<Data>.

◆ encryptGroupCallData() [2/2]

td::td_api::encryptGroupCallData::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>.

Parameters
[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.

Member Function Documentation

◆ store()

void td::td_api::encryptGroupCallData::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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ data_

bytes td::td_api::encryptGroupCallData::data_

Data to encrypt.

Definition at line 99393 of file td_api.h.

◆ data_channel_

object_ptr<GroupCallDataChannel> td::td_api::encryptGroupCallData::data_channel_

Data channel for which data is encrypted.

Definition at line 99391 of file td_api.h.

◆ group_call_id_

int32 td::td_api::encryptGroupCallData::group_call_id_

Group call identifier. The call must not be a video chat.

Definition at line 99389 of file td_api.h.

◆ ID

const std::int32_t td::td_api::encryptGroupCallData::ID = -377997690
static

Identifier uniquely determining a type of the object.

Definition at line 99417 of file td_api.h.

◆ unencrypted_prefix_size_

int32 td::td_api::encryptGroupCallData::unencrypted_prefix_size_

Size of data prefix that must be kept unencrypted.

Definition at line 99395 of file td_api.h.


The documentation for this class was generated from the following file: