Exception in thread "main" org.telegram.api.engine.RpcException: PHONE_NUMBER_UNOCCUPIED
at org.telegram.api.engine.TelegramApi.doRpcCall(TelegramApi.java:366)
at org.telegram.api.engine.TelegramApi.doRpcCallNonAuth(TelegramApi.java:428)
at org.telegram.api.engine.TelegramApi.doRpcCallNonAuth(TelegramApi.java:420)
at Test.login(Test.java:403)
at Test.main(Test.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
ActorDispatcher:Dispatching action: new for response
ActorDispatcher:Dispatching action: schedule for scheduller
ActorDispatcher:Dispatching action: schedule for scheduller
hi my ApiState code is https://paste.ubuntu.com/24192107/ and my Test App code is https://paste.ubuntu.com/24192133/ i recevie code but when i write code this error is occur
Exception in thread "main" org.telegram.api.engine.RpcException: PHONE_NUMBER_UNOCCUPIED at org.telegram.api.engine.TelegramApi.doRpcCall(TelegramApi.java:366) at org.telegram.api.engine.TelegramApi.doRpcCallNonAuth(TelegramApi.java:428) at org.telegram.api.engine.TelegramApi.doRpcCallNonAuth(TelegramApi.java:420) at Test.login(Test.java:403) at Test.main(Test.java:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144) ActorDispatcher:Dispatching action: new for response ActorDispatcher:Dispatching action: schedule for scheduller ActorDispatcher:Dispatching action: schedule for scheduller