Class TdApi.CreateCall

    • Field Detail

      • userId

        public long userId
        Identifier of the user to be called.
      • protocol

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

        public boolean isVideo
        True, if a video call needs to be created.
      • CONSTRUCTOR

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

      • CreateCall

        public CreateCall()
        Default constructor for a function, which creates a new call.

        Returns CallId

      • CreateCall

        public CreateCall​(long userId,
                          TdApi.CallProtocol protocol,
                          boolean isVideo)
        Creates a function, which creates a new call.

        Returns CallId

        Parameters:
        userId - Identifier of the user to be called.
        protocol - The call protocols supported by the application.
        isVideo - True, if a video call needs to be created.