You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voleon , thank you very much , i do it successfully. Your comment give me some light to continue in Method 1 and the missing part is need to re-connect by :
connections.put(1, new ConnectionInfo[]{
new ConnectionInfo(1, 0, isTest ? "149.154.167.xx" : "149.154.167.xx", 443)
});
Hello, help me.
Where serialize apiState?(In which place?)
Can you give an example?
I have an error(SecurityException) when deserialize from file when application starts
hello , everyone , is there anyone able to save the auth to a file successfully ?
Method 01 : save the whole apiState (source : #22)
result : not success
Method 02 : using AuthExportAuthorization (source : https://core.telegram.org/api/datacenter , Authorization Transfer)
result : not success
TLExportedAuthorization authExported = api.doRpcCall(new TLRequestAuthExportAuthorization(destDC)) ;
TLBytes authBytes = authExported.getByte() ; // ==> can't be java.io.NotSerializ
bytes[] authBytes = authExported.getByte().getDate() ; // ==> AUTH_BYTES_INVALID using it in AuthImportAuthorization
The text was updated successfully, but these errors were encountered: