public void ImportAuthorizationByTransportAsync(ITransport transport, int id, byte[] bytes, Action <TLAuthAuthorization> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLAuthImportAuthorization { Id = id, Bytes = bytes }; SendInformativeMessageByTransport(transport, "auth.importAuthorization dc_id=" + transport.DCId, obj, callback, faultCallback); }
public void ImportAuthorizationAsync(int id, byte[] bytes, Action <TLAuthAuthorization> callback, Action <TLRPCError> faultCallback = null) { var obj = new TLAuthImportAuthorization { Id = id, Bytes = bytes }; SendInformativeMessage("auth.importAuthorization id=" + id, obj, callback, faultCallback); }