Class TdApi.EncryptGroupCallData

Enclosing class:
TdApi

public static class TdApi.EncryptGroupCallData extends TdApi.Function<TdApi.Data>
Encrypts group call data before sending them over network using tgcalls.

Returns Data

  • Field Details

    • groupCallId

      public int groupCallId
      Group call identifier. The call must not be a video chat.
    • dataChannel

      public TdApi.GroupCallDataChannel dataChannel
      Data channel for which data is encrypted.
    • data

      public byte[] data
      Data to encrypt.
    • unencryptedPrefixSize

      public int unencryptedPrefixSize
      Size of data prefix that must be kept unencrypted.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR