In telegram, How to get chat id from phone number

contact = InputPhoneContact(client_id = 0, phone = phone, first_name="a", last_name="")
result = client(ImportContactsRequest([contact]))
usersDic = result.__dict__['users']
if(len(usersDic)>0):
    chatID = usersDic[0].__dict__["id"]

I saw the code to find chat id from phone number. Is it possible to get chat id if I have only others phone number?

As of now , bots cannot be used to get the Chat_id , the user have to initiate the chat to the bot