Wrong. The "secular republic of India" did not exist at that time. The "India" you refer to was merely the artificial British construct held together under the colonial Raj.
Pakistanis are indeed the legacy of those specific individuals - that you call them "Indian" is inaccurate in this context and also irrelevant to the conclusion:
The khilafat movement and its natural descendants has always stood together with our Turkish brothers.
Indian Muslims will soon wake up and likewise seize their rightful destiny, much as we already have. Be ready for this.
Yes. Neither India nor Pakistan were born then.
Most of the subcontinent Muslims were followers of Gandhi ji, Abul Kalam Azad ji and the Congress during the Khilafat Movement.
But the indisputable Fact is Gandhi (Father of India) supported the Khilafat movement while Jinnah (Father of Pakistan) did not support the Khilafat movement.