Class TdApi.AcceptCall

  • Enclosing class:
    TdApi

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

    Returns Ok

    • Field Summary

      Fields 
      Modifier and Type Field Description
      int callId
      Call identifier.
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      TdApi.CallProtocol protocol
      Description of the call protocols supported by the client.
    • Constructor Summary

      Constructors 
      Constructor Description
      AcceptCall()
      Default constructor.
      AcceptCall​(int callId, TdApi.CallProtocol protocol)
      Constructor for initialization of all fields.
    • Field Detail

      • callId

        public int callId
        Call identifier.
      • protocol

        public TdApi.CallProtocol protocol
        Description of the call protocols supported by the client.
      • 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.
      • AcceptCall

        public AcceptCall​(int callId,
                          TdApi.CallProtocol protocol)
        Constructor for initialization of all fields.
        Parameters:
        callId - Call identifier.
        protocol - Description of the call protocols supported by the client.