Module tdlight.api

Class TdApi.DiscardCall

Enclosing class:
TdApi

public static final class TdApi.DiscardCall extends TdApi.Function<TdApi.Ok>
Discards a call. Returns Ok
  • Field Details

    • callId

      public int callId
      Call identifier.
    • isDisconnected

      public boolean isDisconnected
      Pass true if the user was disconnected.
    • duration

      public int duration
      The call duration, in seconds.
    • isVideo

      public boolean isVideo
      Pass true if the call was a video call.
    • connectionId

      public long connectionId
      Identifier of the connection used during the call.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • DiscardCall

      public DiscardCall()
      Discards a call. Returns Ok
    • DiscardCall

      public DiscardCall(int callId, boolean isDisconnected, int duration, boolean isVideo, long connectionId)
      Discards a call. Returns Ok
      Parameters:
      callId - int Call identifier.
      isDisconnected - boolean Pass true if the user was disconnected.
      duration - int The call duration, in seconds.
      isVideo - boolean Pass true if the call was a video call.
      connectionId - long Identifier of the connection used during the call.
    • DiscardCall

      public DiscardCall(DataInput input) throws IOException
      Discards a call. Returns Ok
      Throws:
      IOException
  • Method Details