Package org.drinkless.tdlib
Class TdApi.EncryptGroupCallData
- Enclosing class:
- TdApi
Encrypts group call data before sending them over network using tgcalls.
Returns Data
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.byte[]
Data to encrypt.Data channel for which data is encrypted.int
Group call identifier.int
Size of data prefix that must be kept unencrypted. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which encrypts group call data before sending them over network using tgcalls.EncryptGroupCallData
(int groupCallId, TdApi.GroupCallDataChannel dataChannel, byte[] data, int unencryptedPrefixSize) Creates a function, which encrypts group call data before sending them over network using tgcalls. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
groupCallId
public int groupCallIdGroup call identifier. The call must not be a video chat. -
dataChannel
Data channel for which data is encrypted. -
data
public byte[] dataData to encrypt. -
unencryptedPrefixSize
public int unencryptedPrefixSizeSize of data prefix that must be kept unencrypted. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
EncryptGroupCallData
public EncryptGroupCallData()Default constructor for a function, which encrypts group call data before sending them over network using tgcalls.Returns
Data
-
EncryptGroupCallData
public EncryptGroupCallData(int groupCallId, TdApi.GroupCallDataChannel dataChannel, byte[] data, int unencryptedPrefixSize) Creates a function, which encrypts group call data before sending them over network using tgcalls.Returns
Data
- Parameters:
groupCallId
- Group call identifier. The call must not be a video chat.dataChannel
- Data channel for which data is encrypted.data
- Data to encrypt.unencryptedPrefixSize
- Size of data prefix that must be kept unencrypted.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-