-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to start with the Java API #1
Comments
I have the same problem, I think the best solution, although not great, is to look at their app which uses it here: https://github.com/ex3ndr/telegram |
I give up to get my own app_id and app_hash, so I toke one from the demo apps. Anyway I am not able to send messages with the Java Api. I can't get the user's contacts and the messages I'm sending does not arrive to me. |
dmasoft, Did you ever get past the issue of getting an app_id? We are having the same problem (#8) with no resolution whatsoever. I'm inclined to use the ID and Hash in the demo apps as well just to move development forward - I just wanted to get the guys a chance to fix the problem before we go down that road. |
Sirelnsectus, I am at the same point that you. I can get a true answer from the telegram api when I run the saveDeveloperInfo method. Bu t I haven't receive no sms to complete my registration process. By now I'm using the app_id from the demo apps, but for sure this will be a problem in the future. I hope anyone give us some light about this confusing process. |
Hi, I am using the API-ID from the messenger app and I can do some basic stuff. Unauthorized: TLRequestHelpGetNearestDc, TLRequestHelpGetConfig, TLRequestAuthSendCode After I receive the code I can do the following:
This is the point where I am stuck. I have no clue how to add or connect additional users/connections which are needed to get to the messaging-part working. Any help is very much appreciated. . Leo |
leovandenberg, if you have figured out how to add/connect additional users please share with us. We currently have sample code to Register for an API-ID. If anyone has any other samples they would be will to contribute I'm sure everyone else would appreciate it. With that, can we close this issue? https://github.com/SireInsectus/telegram-api-samples |
Hi, I'm only able to import my own data. I have also figured out how to send and receive messages. My main goal is to add automatic (and secure) messaging to another application, however every small step with the Telegram API takes another day and I have reached the point where I start to think of other solutions such as XMPP libraries; maybe not with the security levels of Telegram, but with a lot of available sample code and tutorials. |
When you say messaging to another application, do you mean for production -//---------// On Fri, Mar 14, 2014 at 4:42 PM, leovandenberg notifications@github.comwrote:
|
I have released new version of Api with fat/shadow jar, so it is much easier to include to your project. |
I see that to use your example i must install Gradle plugin. It's mandatory? Can you help me to install it? |
i tried an example from https://github.com/SireInsectus/telegram-api-samples but it is not working and i am not using build.gradle please help me |
Is what you are looking for? |
Can you please send me compiled working code to my email ghayel@gmail.com? I shall be grateful to you |
I'm trying to develope a command line Java client for send message to other telegram users, but I cannot find how to configure my App id and my primary data center. As far as I know, these are the two basic things to begin the comunication.
Does anyone know where can I find an example of the API usage with all the steps I should do?
The text was updated successfully, but these errors were encountered: