List of all members | Public Fields | Public Types | Public Instance Methods | Static Public Attributes
decryptGroupCallData Class Referencefinal

Inherits Function.

Description

Decrypts group call data received by tgcalls.

Returns object_ptr<Data>.

Public Fields

int32 group_call_id_
 Group call identifier. The call must not be a video chat.
 
object_ptr< MessageSenderparticipant_id_
 Identifier of the group call participant, which sent the data.
 
object_ptr< GroupCallDataChanneldata_channel_
 Data channel for which data was encrypted; pass null if unknown.
 
bytes data_
 Data to decrypt.
 

Public Types

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

Public Instance Methods

 decryptGroupCallData ()
 
 decryptGroupCallData (int32 group_call_id_, object_ptr< MessageSender > &&participant_id_, object_ptr< GroupCallDataChannel > &&data_channel_, bytes const &data_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ decryptGroupCallData() [1/2]

Default constructor for a function, which decrypts group call data received by tgcalls.

Returns object_ptr<Data>.

◆ decryptGroupCallData() [2/2]

decryptGroupCallData ( int32  group_call_id_,
object_ptr< MessageSender > &&  participant_id_,
object_ptr< GroupCallDataChannel > &&  data_channel_,
bytes const &  data_ 
)

Creates a function, which decrypts group call data received by tgcalls.

Returns object_ptr<Data>.

Parameters
[in]group_call_id_Group call identifier. The call must not be a video chat.
[in]participant_id_Identifier of the group call participant, which sent the data.
[in]data_channel_Data channel for which data was encrypted; pass null if unknown.
[in]data_Data to decrypt.

Method Documentation

◆ store()

void 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 TlObject.


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