Class TdApi.DiscardCall

  • Enclosing class:
    TdApi

    public static class TdApi.DiscardCall
    extends TdApi.Function
    Discards a call.

    Returns Ok

    • Field Detail

      • callId

        public int callId
        Call identifier.
      • isDisconnected

        public boolean isDisconnected
        True, if the user was disconnected.
      • duration

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

        public boolean isVideo
        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
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DiscardCall

        public DiscardCall()
        Default constructor for a function, which discards a call.

        Returns Ok

      • DiscardCall

        public DiscardCall​(int callId,
                           boolean isDisconnected,
                           int duration,
                           boolean isVideo,
                           long connectionId)
        Creates a function, which discards a call.

        Returns Ok

        Parameters:
        callId - Call identifier.
        isDisconnected - True, if the user was disconnected.
        duration - The call duration, in seconds.
        isVideo - True, if the call was a video call.
        connectionId - Identifier of the connection used during the call.