rubenlagus / Deepthought

Telegram Client written in Java to support multiple custom implementations
74 stars 41 forks source link

How to send message using phone number not user_id? #9

Closed ibgithub closed 8 years ago

ibgithub commented 8 years ago

How to send message using phone number not user_id? is it we need to get user_id first and then send message? And to get user_id is using TLRequestContactsImportContacts object? please help me or if there is some references, thank you.

rubenlagus commented 8 years ago

You need to import contacts first and you will receive the id and accessHash.

P.D: Api was moved to https://github.com/rubenlagus/TelegramApi