Class TdApi.AcceptCall

  • Enclosing class:
    TdApi

    public static class TdApi.AcceptCall
    extends TdApi.Function
    Accepts an incoming call.

    Returns Ok

    • Field Detail

      • callId

        public int callId
        Call identifier.
      • protocol

        public TdApi.CallProtocol protocol
        The call protocols supported by the application.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AcceptCall

        public AcceptCall()
        Default constructor for a function, which accepts an incoming call.

        Returns Ok

      • AcceptCall

        public AcceptCall​(int callId,
                          TdApi.CallProtocol protocol)
        Creates a function, which accepts an incoming call.

        Returns Ok

        Parameters:
        callId - Call identifier.
        protocol - The call protocols supported by the application.